man: simplify socket-proxyd examples

This commit is contained in:
Lennart Poettering 2013-11-22 14:31:31 +01:00
parent baabc57764
commit dc0218d267

View file

@ -145,9 +145,8 @@ server {
</example> </example>
<example label="commands"> <example label="commands">
<programlisting> <programlisting>
<![CDATA[# systemctl --system daemon-reload <![CDATA[# systemctl enable proxy-to-nginx.socket
# systemctl start proxy-to-nginx.socket # systemctl start proxy-to-nginx.socket
# systemctl enable proxy-to-nginx.socket
$ curl http://localhost:80/]]> $ curl http://localhost:80/]]>
</programlisting> </programlisting>
</example> </example>
@ -178,7 +177,7 @@ WantedBy=sockets.target]]>
/etc/systemd/system/proxy-with-nginx.service</title> /etc/systemd/system/proxy-with-nginx.service</title>
<programlisting> <programlisting>
<![CDATA[[Unit] <![CDATA[[Unit]
After=syslog.target remote-fs.target nss-lookup.target After=remote-fs.target nss-lookup.target
[Service] [Service]
ExecStartPre=/usr/sbin/nginx -t ExecStartPre=/usr/sbin/nginx -t
@ -213,9 +212,8 @@ server {
</example> </example>
<example label="commands"> <example label="commands">
<programlisting> <programlisting>
<![CDATA[# systemctl --system daemon-reload <![CDATA[# systemctl enable proxy-with-nginx.socket
# systemctl start proxy-with-nginx.socket # systemctl start proxy-with-nginx.socket
# systemctl enable proxy-with-nginx.socket
$ curl http://localhost:80/]]> $ curl http://localhost:80/]]>
</programlisting> </programlisting>
</example> </example>