X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsd_notify.xml;h=3046ca88ee728c703d7b411406db05b92c564ecd;hb=4b381a9ef65d68dc79760b093436a9c81f43fa5d;hp=3ba242b90b0eccbcdc0a6b0b5996200f3fa77590;hpb=8d1ab18a466b44a8641899f871fa322e395fdd36;p=thirdparty%2Fsystemd.git diff --git a/man/sd_notify.xml b/man/sd_notify.xml index 3ba242b90b0..3046ca88ee7 100644 --- a/man/sd_notify.xml +++ b/man/sd_notify.xml @@ -1,27 +1,7 @@ - - + - - + @@ -29,15 +9,6 @@ sd_notify systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - @@ -202,6 +173,18 @@ watchdog is enabled. + + WATCHDOG=trigger + + Tells the service manager that the service detected an internal error that should be handled by + the configured watchdog options. This will trigger the same behaviour as if WatchdogSec= is + enabled and the service did not send WATCHDOG=1 in time. Note that + WatchdogSec= does not need to be enabled for WATCHDOG=trigger to trigger + the watchdog action. See + systemd.service5 for + information about the watchdog behavior. + + WATCHDOG_USEC=… @@ -211,6 +194,18 @@ Example : WATCHDOG_USEC=20000000 + + EXTEND_TIMEOUT_USEC=… + + Tells the service manager to extend the startup, runtime or shutdown service timeout + corresponding the current state. The value specified is a time in microseconds during which the service must + send a new message. A service timeout will occur if the message isn't received, but only if the runtime of the + current state is beyond the original maximum times of TimeoutStartSec=, RuntimeMaxSec=, + and TimeoutStopSec=. + See systemd.service5 + for effects on the service timeouts. + + FDSTORE=1 @@ -234,25 +229,26 @@ to send messages with FDSTORE=1, see below. + + FDSTOREREMOVE=1 + + Removes file descriptors from the file descriptor store. This field needs to be combined with + FDNAME= to specify the name of the file descriptors to remove. + + FDNAME=… - When used in combination with - FDSTORE=1, specifies a name for the - submitted file descriptors. This name is passed to the service - during activation, and may be queried using + When used in combination with FDSTORE=1, specifies a name for the submitted + file descriptors. When used with FDSTOREREMOVE=1, specifies the name for the file + descriptors to remove. This name is passed to the service during activation, and may be queried using sd_listen_fds_with_names3. File - descriptors submitted without this field set, will implicitly - get the name stored assigned. Note that, if - multiple file descriptors are submitted at once, the specified - name will be assigned to all of them. In order to assign - different names to submitted file descriptors, submit them in - separate invocations of - sd_pid_notify_with_fds(). The name may - consist of any ASCII character, but must not contain control - characters or :. It may not be longer than - 255 characters. If a submitted name does not follow these - restrictions, it is ignored. + descriptors submitted without this field set, will implicitly get the name stored + assigned. Note that, if multiple file descriptors are submitted at once, the specified name will be assigned to + all of them. In order to assign different names to submitted file descriptors, submit them in separate + invocations of sd_pid_notify_with_fds(). The name may consist of arbitrary ASCII + characters except control characters or :. It may not be longer than 255 characters. If a + submitted name does not follow these restrictions, it is ignored.