From: AnrDaemon Date: Fri, 24 Jun 2016 03:19:51 +0000 (+0300) Subject: Force lxc-instance to behave like a good Upstart client X-Git-Tag: lxc-2.1.0~404^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1056%2Fhead;p=thirdparty%2Flxc.git 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 --- diff --git a/config/init/upstart/lxc-instance.conf b/config/init/upstart/lxc-instance.conf index 58d045db6..1c9c3e60a 100644 --- a/config/init/upstart/lxc-instance.conf +++ b/config/init/upstart/lxc-instance.conf @@ -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