Force lxc-instance to behave like a good Upstart client

Remove unnecessary shell wrap around job start.
Force foreground execution to allow job monitoring and control.

Signed-off-by Andrey Repin <anrdaemon@yandex.ru>
This commit is contained in:
AnrDaemon 2016-06-24 06:19:51 +03:00 committed by GitHub
parent 18f9cbeea7
commit abf28de1e6

View File

@ -17,6 +17,4 @@ pre-start script
lxc-wait -s RUNNING -n $NAME -t 0 && { stop; exit 0; } || true
end script
script
exec lxc-start -n $NAME
end script
exec lxc-start -F -n $NAME