Ignore:
Timestamp:
07/20/2014 12:00:10 AM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
systemd-11177
Children:
bdbc765b
Parents:
f81638e
Message:

Begin merging Christophers work into systemd branch part 2.

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

File:
1 moved

Legend:

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

    rf81638e r7edfe43  
    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</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>
     244      <title>Systemd Unit</title>
    232245
    233246      <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>
     247      when the system is rebooted, enable the previously installed
     248      systemd unit by running the following command as the
     249      <systemitem class="username">root</systemitem> user:</para>
    237250
    238251      <indexterm zone="stunnel stunnel-init">
     
    240253      </indexterm>
    241254
    242 <screen role="root"><userinput>make install-stunnel</userinput></screen>
     255<screen role="root"><userinput>systemctl enable stunnel</userinput></screen>
    243256
    244257    </sect3>
Note: See TracChangeset for help on using the changeset viewer.