man: use systemctl enable --now

This commit is contained in:
Lucas Werkmeister 2017-01-26 11:03:09 +01:00
parent aa9f9e587d
commit ee3c52ebbe

View 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>