N noobster Sep 7, 2009 #1 I don't want my jails to start automatically on boot, but still be able to start them manually. How can I achieve that?
I don't want my jails to start automatically on boot, but still be able to start them manually. How can I achieve that?
vivek Sep 7, 2009 #2 Remove the following line from /etc/rc.conf (however keep the rest of jail config lines) Code: jail_enable="YES" To start manually type Code: /etc/rc.d/jail forcestart /etc/rc.d/jail forcestart jailname /etc/rc.d/jail forcerestart jailname /etc/rc.d/jail forcerestop jailname
Remove the following line from /etc/rc.conf (however keep the rest of jail config lines) Code: jail_enable="YES" To start manually type Code: /etc/rc.d/jail forcestart /etc/rc.d/jail forcestart jailname /etc/rc.d/jail forcerestart jailname /etc/rc.d/jail forcerestop jailname
OP N noobster Sep 7, 2009 Thread Starter #3 Thanks! I knew I had to set jail_enable="NO", but I was not familiar with the 'force' commands.
D devel Sep 8, 2009 #4 vivek said: Remove the following line from /etc/rc.conf (however keep the rest of jail config lines) Code: jail_enable="YES" To start manually type Code: /etc/rc.d/jail forcestart /etc/rc.d/jail forcestart jailname /etc/rc.d/jail forcerestart jailname /etc/rc.d/jail forcerestop jailname Click to expand... Actually Code: jail_enable="YES" jail_list="" is more obvious solution
vivek said: Remove the following line from /etc/rc.conf (however keep the rest of jail config lines) Code: jail_enable="YES" To start manually type Code: /etc/rc.d/jail forcestart /etc/rc.d/jail forcestart jailname /etc/rc.d/jail forcerestart jailname /etc/rc.d/jail forcerestop jailname Click to expand... Actually Code: jail_enable="YES" jail_list="" is more obvious solution