summaryrefslogtreecommitdiff
path: root/man/systemd-socket-proxyd.xml
diff options
context:
space:
mode:
authorLucas Werkmeister <mail@lucaswerkmeister.de>2017-01-26 11:03:09 +0100
committerLucas Werkmeister <mail@lucaswerkmeister.de>2017-02-07 16:20:25 +0100
commitee3c52ebbe470a8f3d1a3ddafe26a6012cbbde1d (patch)
tree6149db6c51224d1d71ba3021ff38fef8ea6fae28 /man/systemd-socket-proxyd.xml
parentaa9f9e587d048e2c02f4c2d21ee2a06eb2217042 (diff)
downloadsystemd-ee3c52ebbe470a8f3d1a3ddafe26a6012cbbde1d.tar.gz
man: use systemctl enable --now
Diffstat (limited to 'man/systemd-socket-proxyd.xml')
-rw-r--r--man/systemd-socket-proxyd.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/man/systemd-socket-proxyd.xml b/man/systemd-socket-proxyd.xml
index a86b13daa8..b8a7800b82 100644
--- a/man/systemd-socket-proxyd.xml
+++ b/man/systemd-socket-proxyd.xml
@@ -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>