Update to r40792:

Prefer the use of service(1) to explicit invocation of /etc/rc.d
scripts: service(1) puts things in one place and abstracts them.  Also, it's less
typing and easier to autocomplete.

While here modernize script examples by removing the ".sh" suffix.

Approved by:	bcr (mentor)
This commit is contained in:
Bjoern Heidotting 2015-05-18 18:39:32 +00:00
parent 1e2bdb5172
commit 24200310ef
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46705
2 changed files with 7 additions and 7 deletions

View file

@ -5,7 +5,7 @@
$FreeBSD$
$FreeBSDde: de-docproj/books/handbook/audit/chapter.xml,v 1.14 2012/02/16 20:28:26 bcr Exp $
basiert auf: 1.36
basiert auf: r40792
-->
<!-- Need more documentation on praudit, auditreduce, etc. Plus more info
on the triggers from the kernel (log rotation, out of space, etc).
@ -236,7 +236,7 @@ requirements. -->
Neustart des Systems oder durch das manuelle Starten
des Audit-Daemon aktiviert werden:</para>
<programlisting>/etc/rc.d/auditd start</programlisting>
<programlisting>service auditd start</programlisting>
</sect1>
<sect1 xml:id="audit-config">

View file

@ -5,7 +5,7 @@
$FreeBSD$
$FreeBSDde: de-docproj/books/handbook/linuxemu/chapter.xml,v 1.94 2012/04/30 17:13:51 bcr Exp $
basiert auf: 1.147
basiert auf: r40792
-->
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="linuxemu">
<info><title>Linux-Binärkompatibilität</title>
@ -667,7 +667,7 @@ done</programlisting>
<step><para>Starten Sie den Lizenz-Server.</para>
<para>Das folgende, als
<filename>/usr/local/etc/rc.d/lmgrd.sh</filename>
<filename>/usr/local/etc/rc.d/lmgrd</filename>
installierte Shell-Skript ist ein komfortabler Weg,
um <command>lmgrd</command> zu starten:</para>
@ -859,7 +859,7 @@ FEATURE Maple maplelmg 2000.0831 permanent 1 XXXXXXXXXXXX \
<step>
<para>Erstellen Sie das Startskript
<filename>/usr/local/etc/rc.d/flexlm.sh</filename>. Das
<filename>/usr/local/etc/rc.d/flexlm</filename>. Das
folgende Beispiel ist eine geänderte Version des
mitgelieferten Skripts
<filename>$MATLAB/etc/rc.lm.glnx86</filename>.
@ -889,7 +889,7 @@ exit 0</programlisting>
<important>
<para>Machen Sie Datei ausführbar:</para>
<screen>&prompt.root; <userinput>chmod +x /usr/local/etc/rc.d/flexlm.sh</userinput></screen>
<screen>&prompt.root; <userinput>chmod +x /usr/local/etc/rc.d/flexlm</userinput></screen>
<para>Ersetzen Sie im Skript <replaceable>username</replaceable>
durch einen existierenden Benutzer Ihres Systems
@ -900,7 +900,7 @@ exit 0</programlisting>
<step>
<para>Starten Sie den Lizenzmanager:</para>
<screen>&prompt.root; <userinput>/usr/local/etc/rc.d/flexlm.sh start</userinput></screen>
<screen>&prompt.root; <userinput>service flexlm start</userinput></screen>
</step>
</procedure>
</sect2>