]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: use systemctl enable --now
authorLucas Werkmeister <mail@lucaswerkmeister.de>
Thu, 26 Jan 2017 10:03:09 +0000 (11:03 +0100)
committerLucas Werkmeister <mail@lucaswerkmeister.de>
Tue, 7 Feb 2017 15:20:25 +0000 (16:20 +0100)
man/systemd-socket-proxyd.xml

index a86b13daa87b50051faa61d9d1642e2b188781e8..b8a7800b82a1e360550340b9aff470ec56fcb38c 100644 (file)
@@ -135,8 +135,7 @@ server {
       </example>
       <example>
         <title>Enabling the proxy</title>
-        <programlisting><![CDATA[# systemctl enable proxy-to-nginx.socket
-# systemctl start proxy-to-nginx.socket
+        <programlisting><![CDATA[# systemctl enable --now proxy-to-nginx.socket
 $ curl http://localhost:80/]]></programlisting>
       </example>
     </refsect2>
@@ -176,8 +175,7 @@ server {
       </example>
       <example>
         <title>Enabling the proxy</title>
-        <programlisting><![CDATA[# systemctl enable proxy-to-nginx.socket
-# systemctl start proxy-to-nginx.socket
+        <programlisting><![CDATA[# systemctl enable --now proxy-to-nginx.socket
 $ curl http://localhost:80/]]></programlisting>
       </example>
     </refsect2>