Ignore:
Timestamp:
10/26/2014 02:55:55 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
169031f
Parents:
cb9c6940
Message:

More conversion.

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • postlfs/security/stunnel-systemd.xml

    rcb9c6940 r0e389d13  
    114114    </note>
    115115
     116    <para>
     117      Fix the bundled systemd unit so it does not use a deprecated dependency:
     118    </para>
     119
     120<screen><userinput>sed -i /syslog.target/d tools/stunnel.service.in</userinput></screen>
     121
    116122    <para>Install <application>stunnel</application> by running the following
    117123    commands:</para>
     
    127133
    128134<screen role="root"><userinput>make docdir=/usr/share/doc/stunnel-&stunnel-version; install</userinput></screen>
     135
     136    <para>
     137      Install the systemd unit by running the following command as the
     138      <systemitem class="username">root</systemitem> user:
     139    </para>
     140
     141<screen role="root"><userinput>install -v -m644 tools/stunnel.service /lib/systemd/system/stunnel.service</userinput></screen>
    129142
    130143    <para>To create the <filename>stunnel.pem</filename> in the
     
    229242
    230243    <sect3  id="stunnel-init">
    231       <title>Boot Script</title>
    232 
    233       <para>To automatically start the <command>stunnel</command> daemon
    234       when the system is rebooted, install the
    235       <filename>/etc/rc.d/init.d/stunnel</filename> bootscript from the
    236       <xref linkend="bootscripts"/> package.</para>
     244      <title>Systemd Units</title>
     245
     246      <para>
     247        To start the <command>stunnel</command> daemon at boot,
     248        enable the previously installed systemd unit by
     249        running the following command as the
     250        <systemitem class="username">root</systemitem> user:
     251      </para>
    237252
    238253      <indexterm zone="stunnel stunnel-init">
     
    240255      </indexterm>
    241256
    242 <screen role="root"><userinput>make install-stunnel</userinput></screen>
     257<screen role="root"><userinput>systemctl enable stunnel</userinput></screen>
    243258
    244259    </sect3>
Note: See TracChangeset for help on using the changeset viewer.