diff --git a/elements/os-svc-install/bin/os-svc-daemon b/elements/os-svc-install/bin/os-svc-daemon index 11f737ae..161423a0 100755 --- a/elements/os-svc-install/bin/os-svc-daemon +++ b/elements/os-svc-install/bin/os-svc-daemon @@ -19,9 +19,7 @@ end script respawn -script - exec sudo -u $user /opt/stack/venvs/$user/bin/$cmd $args -end script +exec start-stop-daemon --start -c $user --exec /opt/stack/venvs/$user/bin/$cmd $args EOF }