X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.service.xml;h=364ad7d0c8a5b8ce1dcb4bd0066f94270ac5cafe;hb=33169701b0640d3629d4c36cf8c71dc26d2cb7e1;hp=3b2a7cfece48122cec689413459bb21e0af00fc3;hpb=73e231abde39f22097df50542c745e01de879836;p=elogind.git diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 3b2a7cfec..364ad7d0c 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -519,6 +519,20 @@ ExecStart=/bin/echo $ONE $TWO ${TWO} following: /bin/kill -HUP $MAINPID + + Note however that reloading a + daemon by sending a signal (as with + the example line above) is usually not + a good choice, because this is an + asynchronous operation and hence not + suitable to order reloads of multiple + services against each other. It is + strongly recommended to set + ExecReload= to a + command that no only triggers a + configuration reload of the daemon, + but also synchronously waits for it + complete. @@ -674,7 +688,7 @@ ExecStart=/bin/echo $ONE $TWO ${TWO} processes specified with ExecStartPre=, ExecStartPost=, - ExecStopPre=, + ExecStop=, ExecStopPost=, or ExecReload=. When the death of the process is a @@ -1017,6 +1031,30 @@ ExecStart=/bin/echo $ONE $TWO ${TWO} . + + RebootArgument= + Configure the optional + argument for the + reboot2 + system call if + StartLimitAction= + is a reboot action. This works just + like the optional argument to + systemctl reboot + command. + + + + FailureAction= + Configure the action + to take when the service enters a failed + state. Takes the same values as + StartLimitAction= + and executes the same actions. + Defaults to . + + + Check