mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
man/systemd-socket-proxyd: fix unit dependencies in examples (#7340)
This was probably a typo, since depending proxy-to-nginx.service on itself makes no sense, but depending on the socket does. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
This commit is contained in:
parent
0986658d51
commit
e5bb1de8dd
@ -119,7 +119,7 @@ WantedBy=sockets.target]]></programlisting>
|
||||
Requires=nginx.service
|
||||
After=nginx.service
|
||||
Requires=proxy-to-nginx.socket
|
||||
After=proxy-to-nginx.service
|
||||
After=proxy-to-nginx.socket
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/lib/systemd/systemd-socket-proxyd /tmp/nginx.sock
|
||||
@ -161,8 +161,8 @@ WantedBy=sockets.target]]></programlisting>
|
||||
<programlisting><![CDATA[[Unit]
|
||||
Requires=nginx.service
|
||||
After=nginx.service
|
||||
Requires=proxy-to-nginx.service
|
||||
After=proxy-to-nginx.service
|
||||
Requires=proxy-to-nginx.socket
|
||||
After=proxy-to-nginx.socket
|
||||
JoinsNamespaceOf=nginx.service
|
||||
|
||||
[Service]
|
||||
|
Loading…
Reference in New Issue
Block a user