Changeset 7edfe43 for postlfs/security/stunnel-systemd.xml
- Timestamp:
- 07/20/2014 12:00:10 AM (10 years ago)
- Branches:
- systemd-11177
- Children:
- bdbc765b
- Parents:
- f81638e
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/stunnel-systemd.xml
rf81638e r7edfe43 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</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>244 <title>Systemd Unit</title> 232 245 233 246 <para>To automatically start the <command>stunnel</command> daemon 234 when the system is rebooted, install the235 <filename>/etc/rc.d/init.d/stunnel</filename> bootscript fromthe236 < 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> 237 250 238 251 <indexterm zone="stunnel stunnel-init"> … … 240 253 </indexterm> 241 254 242 <screen role="root"><userinput> make install-stunnel</userinput></screen>255 <screen role="root"><userinput>systemctl enable stunnel</userinput></screen> 243 256 244 257 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.