Merge "Streamline upstart scripts in os-svc-daemon"
This commit is contained in:
commit
3df85839e5
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user