summaryrefslogtreecommitdiffstats
path: root/lxc-1.0.4-fix-init.patch
diff options
context:
space:
mode:
authorThomas Moschny <thm@fedoraproject.org>2014-07-06 21:34:58 +0200
committerThomas Moschny <thm@fedoraproject.org>2014-07-06 21:34:58 +0200
commitdfaa18206b4f039b9d47b07156c54ca71db33856 (patch)
tree9c3e27942ad51e796901c49134946cccf119ec1a /lxc-1.0.4-fix-init.patch
parentebe757a80cdf0f646d465e03cd8c37a1d3b0f284 (diff)
downloadlxc-testing.tar.gz
lxc-testing.tar.xz
lxc-testing.zip
Update to 1.0.4.testing
- Include sysvinit resp. systemd support for autostart of containers. - Do not list explicit requirements for templates. - Add missing dependency on lxc-lua for lxc-top. - Include apidocs.
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