summaryrefslogtreecommitdiffstats
path: root/lxc-1.0.4-fix-init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lxc-1.0.4-fix-init.patch')
-rw-r--r--lxc-1.0.4-fix-init.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/lxc-1.0.4-fix-init.patch b/lxc-1.0.4-fix-init.patch
new file mode 100644
index 0000000..340ff76
--- /dev/null
+++ b/lxc-1.0.4-fix-init.patch
@@ -0,0 +1,22 @@
+diff -up lxc-1.0.4/config/init/sysvinit/lxc.in.orig lxc-1.0.4/config/init/sysvinit/lxc.in
+--- lxc-1.0.4/config/init/sysvinit/lxc.in.orig 2014-07-05 17:47:14.143145522 +0200
++++ lxc-1.0.4/config/init/sysvinit/lxc.in 2014-07-05 18:01:40.053721615 +0200
+@@ -2,13 +2,15 @@
+ #
+ # lxc Start/Stop LXC autoboot containers
+ #
+-# chkconfig: 345 99 01
++# chkconfig: - 99 01
+ # description: Starts/Stops all LXC containers configured for autostart.
+ #
+ ### BEGIN INIT INFO
+ # Provides: lxc
+-# Default-Start: 3 4 5
+-# Default-Stop: 0 1 6
++# Required-Start: $local_fs $network
++# Required-Stop: $local_fs $network
++# Default-Start:
++# Default-Stop:
+ # Short-Description: Bring up/down LXC autostart containers
+ # Description: Bring up/down LXC autostart containers
+ ### END INIT INFO