X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.service.xml;h=7fc3205ff14b99d91c1e4eca4f4be5c2508e4530;hb=a1102c1f63dfee7f3649c86c5d8df8faba541123;hp=6ab3bc3601d28b69b1a03ee575eede6bf42125ef;hpb=d2f316345cfadd07025b1a1770f63804e33c4b50;p=elogind.git
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 6ab3bc360..7fc3205ff 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -428,17 +428,17 @@
Configures whether the
main service process shall be restarted when
it exists. Takes one of
- ,
- or
- . If
- set to (the
+ ,
+ or
+ . If
+ set to (the
default) the service will not be
restarted when it exits. If set to
- it
+ it
will be restarted only when it exited
cleanly, i.e. terminated with an exit
code of 0. If set to
- the
+ the
service will be restarted regardless
whether it exited cleanly or not, or
got terminated abnormally by a
@@ -602,6 +602,33 @@
Type=notify (see above).
+
+ Sockets=
+ Specifies the name of
+ the socket units this service shall
+ inherit the sockets from when the
+ service (ignoring the different suffix
+ of course) is started. Normally it
+ should not be necessary to use this
+ setting as all sockets whose unit
+ shares the same name as the service
+ are passed to the spawned
+ process.
+
+ Note that the same socket may be
+ passed to multiple processes at the
+ same time. Also note that a different
+ service may be activated on incoming
+ traffic than inherits the sockets. Or
+ in other words: The
+ Service= setting of
+ .socket units
+ doesn't have to match the inverse of the
+ Sockets= setting of
+ the .service it
+ refers to.
+
+