b254
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#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?
|
|
#2
|
||||
|
||||
|
Remove the following line from /etc/rc.conf (however keep the rest of jail config lines)
Code:
jail_enable="YES" Code:
/etc/rc.d/jail forcestart /etc/rc.d/jail forcestart jailname /etc/rc.d/jail forcerestart jailname /etc/rc.d/jail forcerestop jailname
__________________
Neither in this world nor elsewhere is there any happiness in store for him who always doubts. If you enjoyed my answer please consider donating some money to FreeBSD foundation @ http://www.freebsdfoundation.org/ |
|
#3
|
|||
|
|||
|
Thanks! I knew I had to set jail_enable="NO", but I was not familiar with the 'force' commands.
|
|
#4
|
|||
|
|||
|
Quote:
Code:
jail_enable="YES" jail_list=""
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] question about webserver in jail | wonslung | Web & Network Services | 15 | November 27th, 2009 17:38 |
| jail nullfs question | wonslung | General | 7 | June 18th, 2009 17:45 |
| One more Jail/Network question.. | osx-addict | Firewalls | 2 | March 5th, 2009 01:51 |
| simple question, just learning | pk7 | Firewalls | 7 | December 31st, 2008 00:31 |
| Simple? PF question. Just learning | neurosis | Firewalls | 11 | November 20th, 2008 12:38 |