]> git.pld-linux.org Git - projects/rc-scripts.git/blob - init/sys-chroots.conf
fix tag pushing in make-tag.sh
[projects/rc-scripts.git] / init / sys-chroots.conf
1 description "Starts and stops services in chroots"
2
3 start on runlevel [0123456] and pld.sysinit-done
4 stop on runlevel [!$RUNLEVEL]
5
6 console output
7 task
8
9 pre-start script
10         # test that chroots are configured
11         . /etc/sysconfig/system
12         test -n "$SYSTEM_CHROOTS" || /sbin/initctl -q stop
13 end script
14
15 script
16         export USE_UPSTART=no
17         exec /etc/rc.d/init.d/sys-chroots start
18 end script
19
20 pre-stop script
21         export USE_UPSTART=no
22         exec /etc/rc.d/init.d/sys-chroots stop
23 end script
This page took 0.039064 seconds and 3 git commands to generate.