Changeset 1258125 for server/other


Ignore:
Timestamp:
06/11/2016 06:14:42 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
3e42104
Parents:
bea508c
Message:

[Systemd merge] - Section V

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17481 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
server/other
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • server/other/openldap.xml

    rbea508c r1258125  
    411411
    412412    <sect3 id="openldap-init">
    413       <title>Boot Script</title>
     413      <title><phrase revision="sysv">Boot Script</phrase>
     414             <phrase revision="systemd">Systemd Unit</phrase></title>
    414415
    415416      <para>
    416417        To automate the startup of the LDAP server at system bootup,
    417         install the <filename>/etc/rc.d/init.d/slapd</filename> init script
    418         included in the <xref linkend="bootscripts" revision="sysv"/>
    419         <xref linkend="systemd-units" revision="systemd"/> package
    420         using the following command:
     418        install the
     419        <phrase revision="sysv"><filename>/etc/rc.d/init.d/slapd</filename>
     420        init script</phrase>
     421        <phrase revision="systemd"><filename>slapd.service</filename>
     422        unit</phrase> included in the
     423        <xref linkend="bootscripts" revision="sysv"/>
     424        <xref linkend="systemd-units" revision="systemd"/>
     425        package using the following command:
    421426      </para>
    422427
     
    430435        <para>
    431436          You'll need to modify the
    432           <filename>/etc/sysconfig/slapd</filename> to include the
    433           parameters needed for your specific configuration. See the
    434           <command>slapd</command> man page for parameter information.
     437          <phrase revision="sysv"><filename>/etc/sysconfig/slapd</filename></phrase>
     438          <phrase revision="systemd"><filename>/etc/default/slapd</filename></phrase>
     439          to include the parameters needed for your specific configuration. See
     440          the <command>slapd</command> man page for parameter information.
    435441        </para>
    436442      </note>
     
    442448
    443449      <para>
    444         Start the LDAP server using the init script:
    445       </para>
    446 
    447 <screen role="root"><userinput>/etc/rc.d/init.d/slapd start</userinput></screen>
     450        Start the LDAP server using
     451        <phrase revision="sysv">the init script:</phrase>
     452        <phrase revision="systemd">systemctl:</phrase>
     453      </para>
     454
     455<screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/slapd start</userinput></screen>
     456
     457<screen role="root" revision="systemd"><userinput>systemctl start slapd</userinput></screen>
    448458
    449459      <para>
  • server/other/unbound.xml

    rbea508c r1258125  
    228228
    229229    <sect3 id="unbound-init">
    230       <title>Boot Script</title>
     230      <title><phrase revision="sysv">Boot Script</phrase>
     231             <phrase revision="systemd">Systemd Unit</phrase></title>
    231232
    232233      <para>If you want the <application>Unbound</application> server to
    233234      start automatically when the system is booted, install the
    234       <filename>/etc/rc.d/init.d/unbound</filename> init script included
     235      <phrase revision="sysv"><filename>/etc/rc.d/init.d/unbound</filename>
     236      init script</phrase>
     237      <phrase revision="systemd"><filename>unbound.service</filename>
     238      unit</phrase> included
    235239      in the <xref linkend="bootscripts" revision="sysv"/>
    236240      <xref linkend="systemd-units" revision="systemd"/> package.</para>
  • server/other/xinetd.xml

    rbea508c r1258125  
    397397
    398398    <sect3  id="xinetd-init">
    399       <title>Boot Script</title>
     399      <title><phrase revision="sysv">Boot Script</phrase>
     400             <phrase revision="systemd">Systemd Unit</phrase></title>
    400401
    401402      <para>As the <systemitem class="username">root</systemitem> user, install
    402       the <filename>/etc/rc.d/init.d/xinetd</filename> init script included in
     403      the <phrase revision="sysv"><filename>/etc/rc.d/init.d/xinetd</filename>
     404      init script</phrase>
     405      <phrase revision="systemd"><filename>xinetd.service</filename>
     406      unit</phrase> included in
    403407      the <xref linkend="bootscripts" revision="sysv"/>
    404408      <xref linkend="systemd-units" revision="systemd"/> package.</para>
     
    411415
    412416      <para>As the <systemitem class="username">root</systemitem> user,
    413       use the new boot script to start <command>xinetd</command>:</para>
    414 
    415 <screen role="root"><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen>
    416 
    417       <para>Check the <filename>/var/log/daemon.log</filename> to ensure the
    418       appropriate services are started. If no services are enabled, the program
    419       will not start without the <option>-stayalive</option> option.</para>
     417      use the <phrase revision="sysv">new boot script</phrase>
     418      <phrase revision="systemd"><command>systemctl</command> command</phrase>
     419      to start <command>xinetd</command>:</para>
     420
     421<screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen>
     422
     423<screen role="root" revision="systemd"><userinput>systemctl start xinetd</userinput></screen>
     424
     425      <para>Check the
     426      <phrase revision="sysv"><filename>/var/log/daemon.log</filename></phrase>
     427      <phrase revision="systemd"><command>journalctl</command> output</phrase>
     428      to ensure the appropriate services are started. If no services are
     429      enabled, the program will not start without the
     430      <option>-stayalive</option> option.</para>
    420431
    421432<!--
Note: See TracChangeset for help on using the changeset viewer.