From abf28de1e6e9bddbca4b329dc277cddfc9c5b1e7 Mon Sep 17 00:00:00 2001 From: AnrDaemon Date: Fri, 24 Jun 2016 06:19:51 +0300 Subject: [PATCH] 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 --- config/init/upstart/lxc-instance.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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