Remove documentation about the inconsistent and dangerous @stopdaemon
pkg provide an equivalent mechanism which does not need a mark up in the plist Approved by: gavin
This commit is contained in:
parent
2ae6e3544b
commit
6b5d5bd287
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41835
1 changed files with 0 additions and 20 deletions
|
@ -9572,26 +9572,6 @@ run_rc_command "$1"</programlisting>
|
|||
<filename>.sh</filename> suffix.</para>
|
||||
</note>
|
||||
|
||||
<sect2>
|
||||
<title>Stopping Services at Deinstall</title>
|
||||
|
||||
<para>It is possible to have a service stopped automatically
|
||||
as part of the deinstall routine. We advise using this
|
||||
feature only when it is absolutely necessary to stop a
|
||||
service before its files go away. Usually, it is up to the
|
||||
administrator's discretion to decide, whether to stop the
|
||||
service on deinstall or not. Also note this affects
|
||||
upgrades, too.</para>
|
||||
|
||||
<para>A line like this goes in the
|
||||
<filename>pkg-plist</filename>:</para>
|
||||
|
||||
<programlisting>@stopdaemon doormand</programlisting>
|
||||
|
||||
<para>The argument must match the content of
|
||||
<makevar>USE_RC_SUBR</makevar> variable.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Pre-Commit Checklist</title>
|
||||
|
||||
|
|
Loading…
Reference in a new issue