Ignore:
Timestamp:
07/15/2014 07:51:11 AM (10 years ago)
Author:
Christopher Gregory <cjg@…>
Branches:
gnome
Children:
5bc57bb
Parents:
e1df6e21
Message:

Converted acpid at autofs bluez fcron gpm sysstat udisks2 upower dhcp nfs-utils cyrus-sasl mitkrb openssh polkit and stunnel pages to systemd

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/gnome@13413 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/nfs-utils.xml

    re1df6e21 rcae7a6f  
    195195      </indexterm>
    196196
    197       <sect4 id="nfs-utils-server-init">
    198         <title>Boot Script</title>
    199 
    200         <para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename>
    201         init script included in the <xref linkend="bootscripts"/> package
    202         to start the server at boot.</para>
     197      <sect4 id="nfs-utils-server-init-systemd">
     198        <title>Systemd Unit File</title>
     199       
     200        <note>
     201        <para>
     202          Note that there is no support for gss (gssd) daemons nor nfsv4 (idmapd)
     203          daemons yet since BLFS doesn't support the configuration out of the box.
     204        </para>
     205        </note>
     206
     207
     208        <para>
     209        The systemd-units package provides native unit files.  To install the unit file
     210        included in the <xref linkend="systemd-units"/> package
     211        to start the server at boot issue the following command
     212        as the <systemitem class="username">root</systemitem> user:
     213        </para>
    203214
    204215<screen role="root"><userinput>make install-nfs-server</userinput></screen>
    205216
    206         <indexterm zone="nfs-utils nfs-utils-server-init">
     217        <indexterm zone="nfs-utils nfs-utils-server-init-systemd">
    207218          <primary sortas="f-nfs-server">nfs-server</primary>
    208219        </indexterm>
    209220
    210         <para>Now create the <filename>/etc/sysconfig/nfs-server</filename>
     221        <para>Now create the <filename>/etc/default/nfs-utils</filename>
    211222        configuration file:</para>
    212223
    213 <screen role="root"><userinput>cat &gt; /etc/sysconfig/nfs-server &lt;&lt; "EOF"
     224<screen role="root"><userinput>cat &gt; /etc/default/nfs-utils &lt;&lt; "EOF"
    214225<literal>PORT="2049"
    215226PROCESSES="8"
     
    218229EOF</userinput></screen>
    219230
    220         <note><para>The above parameters may be optionally placed in
    221         <filename>/etc/sysconfig/rc.site</filename>.</para></note>
    222 
    223         <indexterm zone="nfs-utils nfs-utils-server-init">
     231        <indexterm zone="nfs-utils nfs-utils-server-init-systemd">
    224232          <primary
    225233          sortas="e-etc-sysconfig-nfs-server">/etc/sysconfig/nfs-server</primary>
     
    289297        nfs-server script is installed.</para></note>
    290298
    291         <para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename> init
    292         script included in the <xref linkend="bootscripts"/> package to start
    293         the client services at boot.</para>
     299        <para>Install the systemd unit file included in the
     300        <xref linkend="systemd-units"/> package to start
     301        the client services at boot issue the following command as the
     302        <systemitem class="username">root</systemitem>
     303        user:</para>
    294304
    295305<screen role="root"><userinput>make install-nfs-client</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.