Get setsid() and provide absolute path for pidfile.