summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-22 14:31:31 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-22 16:31:40 +0100
commitdc0218d267e6358985c7b4e150f09cb370d264c5 (patch)
tree74a498da4360c763679b93b804e8bd4c4d4ce4e8 /man
parentbaabc5776475f7313cdaa5f3bdb45c1c5d053f91 (diff)
man: simplify socket-proxyd examples
Diffstat (limited to 'man')
-rw-r--r--man/systemd-socket-proxyd.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/man/systemd-socket-proxyd.xml b/man/systemd-socket-proxyd.xml
index 6983346396..4eb13e4d25 100644
--- a/man/systemd-socket-proxyd.xml
+++ b/man/systemd-socket-proxyd.xml
@@ -145,9 +145,8 @@ server {
</example>
<example label="commands">
<programlisting>
-<![CDATA[# systemctl --system daemon-reload
+<![CDATA[# systemctl enable proxy-to-nginx.socket
# systemctl start proxy-to-nginx.socket
-# systemctl enable proxy-to-nginx.socket
$ curl http://localhost:80/]]>
</programlisting>
</example>
@@ -178,7 +177,7 @@ WantedBy=sockets.target]]>
/etc/systemd/system/proxy-with-nginx.service</title>
<programlisting>
<![CDATA[[Unit]
-After=syslog.target remote-fs.target nss-lookup.target
+After=remote-fs.target nss-lookup.target
[Service]
ExecStartPre=/usr/sbin/nginx -t
@@ -213,9 +212,8 @@ server {
</example>
<example label="commands">
<programlisting>
-<![CDATA[# systemctl --system daemon-reload
+<![CDATA[# systemctl enable proxy-with-nginx.socket
# systemctl start proxy-with-nginx.socket
-# systemctl enable proxy-with-nginx.socket
$ curl http://localhost:80/]]>
</programlisting>
</example>