diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-11-13 18:06:09 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-11-27 16:59:52 +0100 |
commit | c45d11cb30419959f2f5537bc4f0fa735e38b7a3 (patch) | |
tree | c46584d4c49864079cd04b85494abfeeb244697e /src/systemd/sd-daemon.h | |
parent | e32852377797398baa17b015d7c7496a27731bd2 (diff) | |
download | systemd-c45d11cb30419959f2f5537bc4f0fa735e38b7a3.tar.gz |
service: reorder sd_notify() handling a bit
Let's keep handling of WATCHDOG= and WATCHDOG_USEC= together. No
functional changes.
Diffstat (limited to 'src/systemd/sd-daemon.h')
-rw-r--r-- | src/systemd/sd-daemon.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/systemd/sd-daemon.h b/src/systemd/sd-daemon.h index 61cfdd8e0a..54e82562a7 100644 --- a/src/systemd/sd-daemon.h +++ b/src/systemd/sd-daemon.h @@ -204,17 +204,17 @@ int sd_is_mq(int fd, const char *path); timestamps to detect failed services. Also see sd_watchdog_enabled() below. + WATCHDOG_USEC=... + Reset watchdog_usec value during runtime. + To reset watchdog_usec value, start the service again. + Example: "WATCHDOG_USEC=20000000" + FDSTORE=1 Store the file descriptors passed along with the message in the per-service file descriptor store, and pass them to the main process again on next invocation. This variable is only supported with sd_pid_notify_with_fds(). - WATCHDOG_USEC=... - Reset watchdog_usec value during runtime. - To reset watchdog_usec value, start the service again. - Example: "WATCHDOG_USEC=20000000" - Daemons can choose to send additional variables. However, it is recommended to prefix variable names not listed above with X_. |