]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Force lxc-instance to behave like a good Upstart client 1056/head
authorAnrDaemon <anrdaemon@freemail.ru>
Fri, 24 Jun 2016 03:19:51 +0000 (06:19 +0300)
committerGitHub <noreply@github.com>
Fri, 24 Jun 2016 03:19:51 +0000 (06:19 +0300)
Remove unnecessary shell wrap around job start.
Force foreground execution to allow job monitoring and control.

Signed-off-by Andrey Repin <anrdaemon@yandex.ru>

config/init/upstart/lxc-instance.conf

index 58d045db6925a608c4953aa37668c78b02ffb500..1c9c3e60a0bbd8b60cc259f8c8c52c430893900c 100644 (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