Scripts in /usr/local/etc/rc.d/ should accept 'start' *and* 'stop', not
one or the other. Approved by: murray
This commit is contained in:
parent
8c427a40b4
commit
662ddb1d4b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12895
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ postmaster@example.com postmaster@noc.example.net
|
|||
<filename>/usr/local/etc/rc.d/</filename> that
|
||||
ends in <filename>.sh</filename> and is executable by
|
||||
root. The script should also accept the parameters 'start'
|
||||
or 'stop'. So that you could, for example, execute
|
||||
and 'stop'. So that you could, for example, execute
|
||||
<filename>/usr/local/etc/rc.d/supermailer.sh start</filename>
|
||||
or <filename>/usr/local/etc/rc.d/supermailer.sh stop</filename>.
|
||||
The system will call your script using 'start' when the it
|
||||
|
|
Loading…
Reference in a new issue