The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc-pkg-ubuntu/pull/6

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Upstart jobs are not supposed to daemonize unless abosolutely necessary. Which is normally not necessary at all and just complicates the maintenance.

Signed-off-by Andrey Repin <anrdae...@yandex.ru>
From 69c04de1037d9eef00fed46eab29eef8955ba045 Mon Sep 17 00:00:00 2001
From: AnrDaemon <anrdae...@freemail.ru>
Date: Fri, 24 Jun 2016 05:42:05 +0300
Subject: [PATCH] Force lxc-instance to behave like a good Upstart client

Upstart jobs are not supposed to daemonize unless abosolutely necessary. Which 
is normally not necessary at all and just complicates the maintenance.

Signed-off-by Andrey Repin <anrdae...@yandex.ru>
---
 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 58d045d..b96fe16 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 -Fn $NAME
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to