summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2013-10-22 01:50:49 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-21 20:50:46 -0400
commit202e6abb3d0959d8051d514ae48a140934a30f47 (patch)
tree22397d0a12eefd6ab6b93908a3b17bfdf87c11e2 /man
parent19aadacf92ad86967ffb678e37b2ff9e83cb9480 (diff)
man: avoid the use of sudo in examples
sudo is not the first-class tool on all distros. Just require any superuser shell.
Diffstat (limited to 'man')
-rw-r--r--man/systemd-socket-proxyd.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/man/systemd-socket-proxyd.xml b/man/systemd-socket-proxyd.xml
index 9f2389a04c..d17c86e479 100644
--- a/man/systemd-socket-proxyd.xml
+++ b/man/systemd-socket-proxyd.xml
@@ -153,9 +153,9 @@ server {
</example>
<example label="commands">
<programlisting>
-<![CDATA[$ sudo systemctl --system daemon-reload
-$ sudo systemctl start proxy-to-nginx.socket
-$ sudo systemctl enable proxy-to-nginx.socket
+<![CDATA[# systemctl --system daemon-reload
+# systemctl start proxy-to-nginx.socket
+# systemctl enable proxy-to-nginx.socket
$ curl http://localhost:80/]]>
</programlisting>
</example>
@@ -221,9 +221,9 @@ server {
</example>
<example label="commands">
<programlisting>
-<![CDATA[$ sudo systemctl --system daemon-reload
-$ sudo systemctl start proxy-with-nginx.socket
-$ sudo systemctl enable proxy-with-nginx.socket
+<![CDATA[# systemctl --system daemon-reload
+# systemctl start proxy-with-nginx.socket
+# systemctl enable proxy-with-nginx.socket
$ curl http://localhost:80/]]>
</programlisting>
</example>