Stop suggesting the use of the dangerous prefix "force"

with rc.d scripts.  The prefix "one" is the safe way to
override rc.conf once.  OTOH "force" will disable sanity
checks as well.
This commit is contained in:
Yaroslav Tykhiy 2006-10-26 15:29:09 +00:00
parent 7c6f9fab80
commit d5b45016fd
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28944

View file

@ -730,12 +730,12 @@ HOME=/var/log
<option>start</option>, <option>stop</option> or
<option>restart</option> a service regardless of the settings in
<filename>/etc/rc.conf</filename>, the commands should be
prefixed with <quote>force</quote>. For instance to restart
prefixed with <quote>one</quote>. For instance to restart
<command>sshd</command> regardless of the current
<filename>/etc/rc.conf</filename> setting, execute the following
command:</para>
<screen>&prompt.root; <userinput>/etc/rc.d/sshd forcerestart</userinput></screen>
<screen>&prompt.root; <userinput>/etc/rc.d/sshd onerestart</userinput></screen>
<para>It is easy to check if a service is enabled in
<filename>/etc/rc.conf</filename> by running the appropriate