47 lines
1.4 KiB
Diff
47 lines
1.4 KiB
Diff
diff --git a/config/init/sysvinit/lxc-containers.in b/config/init/sysvinit/lxc-containers.in
|
|
index bc93322..06ca8f4 100644
|
|
--- a/config/init/sysvinit/lxc-containers.in
|
|
+++ b/config/init/sysvinit/lxc-containers.in
|
|
@@ -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: 2 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
|
|
diff --git a/config/init/sysvinit/lxc-net.in b/config/init/sysvinit/lxc-net.in
|
|
index f6892c1..362469c 100644
|
|
--- a/config/init/sysvinit/lxc-net.in
|
|
+++ b/config/init/sysvinit/lxc-net.in
|
|
@@ -2,13 +2,15 @@
|
|
#
|
|
# lxc-net Start/Stop LXC Networking
|
|
#
|
|
-# chkconfig: 345 98 01
|
|
+# chkconfig: - 98 01
|
|
# description: Starts/Stops LXC Network Bridge
|
|
#
|
|
### BEGIN INIT INFO
|
|
# Provides: lxc-net
|
|
-# Default-Start: 2 3 4 5
|
|
-# Default-Stop: 1
|
|
+# Required-Start: $local_fs $network
|
|
+# Required-Stop: $local_fs $network
|
|
+# Default-Start:
|
|
+# Default-Stop:
|
|
# Short-Description: Bring up/down LXC Network Bridge
|
|
# Description: Bring up/down LXC Network Bridge
|
|
### END INIT INFO
|