man: avoid the use of sudo in examples

sudo is not the first-class tool on all distros. Just require any
superuser shell.
This commit is contained in:
Jan Engelhardt 2013-10-22 01:50:49 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 19aadacf92
commit 202e6abb3d

View file

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