cvs commit: src/etc/rc.d jail
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Aug 16 08:43:07 GMT 2005
pjd 2005-08-16 08:43:06 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
MFC: etc/rc.d/jail 1.25
Skip jails which are already running and inform why.
We're checking for /var/run/jail_<name>.id file and if it exists, we don't
start the jail. It should be also safe in case of reboot(8), because
rc.d/cleanvar script is going to remove /var/run/jail_* files.
It helps to avoid potential mess when the same jail is started twice,
because of an administrator mistake (been there, done that).
Approved by: re (kensmith)
Revision Changes Path
220.127.116.11 +4 -0 src/etc/rc.d/jail
More information about the cvs-src