]> git.ipfire.org Git - thirdparty/systemd.git/commit
man: document socket requirement for systemd-socket-proxyd (#6535)
authordkg <dkg@fifthhorseman.net>
Sat, 5 Aug 2017 23:19:09 +0000 (19:19 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 5 Aug 2017 23:19:09 +0000 (19:19 -0400)
commitd7cefe8b2b236a8642aaffd0b782fa3323e6cefc
tree0bb2d9dd63c36463b8d952777aad125d61c70b30
parent8f968c7321be09e7a41b29a0d5d2d2c13ee7ded1
man: document socket requirement for systemd-socket-proxyd (#6535)

Without this requirement, if proxy-to-nginx.socket was down, and the sysadmin
were to do:

    systemctl start proxy-to-nginx.service

then the service would come up without a configured socket, which doesn't make
sense.  Normally this isn't how we expect a socket-activated service to start,
but it's possible for an admin to do this (if the .socket were already running,
the systemd-socket-proxyd process will start effectively idle).  But the
.service shouldn't end up in a broken state if the .socket isn't already
listening.

Adding the explicit Requires: should ensure that an admin with this
configuration state can't accidentally break their system.
man/systemd-socket-proxyd.xml