Changeset 0e389d13 for postlfs/security/stunnel-systemd.xml
- Timestamp:
- 10/26/2014 02:55:55 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- 169031f
- Parents:
- cb9c6940
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/stunnel-systemd.xml
rcb9c6940 r0e389d13 114 114 </note> 115 115 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 116 122 <para>Install <application>stunnel</application> by running the following 117 123 commands:</para> … … 127 133 128 134 <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> 129 142 130 143 <para>To create the <filename>stunnel.pem</filename> in the … … 229 242 230 243 <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> 237 252 238 253 <indexterm zone="stunnel stunnel-init"> … … 240 255 </indexterm> 241 256 242 <screen role="root"><userinput> make install-stunnel</userinput></screen>257 <screen role="root"><userinput>systemctl enable stunnel</userinput></screen> 243 258 244 259 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.