added Setsid to restart