summaryrefslogtreecommitdiff
path: root/src/systemd/sd-daemon.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-11-13 18:06:09 +0100
committerLennart Poettering <lennart@poettering.net>2017-11-27 16:59:52 +0100
commitc45d11cb30419959f2f5537bc4f0fa735e38b7a3 (patch)
treec46584d4c49864079cd04b85494abfeeb244697e /src/systemd/sd-daemon.h
parente32852377797398baa17b015d7c7496a27731bd2 (diff)
downloadsystemd-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.h10
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_.