chiark / gitweb /
service: add watchdog timestamp
[elogind.git] / src / systemd / sd-daemon.h
index eb2a6065112f6e29b1a637e8c070200e9b1dac08..7b664bf42a91c326818e9feb98784a0f5c9507f7 100644 (file)
@@ -217,6 +217,11 @@ int sd_is_mq(int fd, const char *path);
      MAINPID=...  The main pid of a daemon, in case systemd did not
                   fork off the process itself. Example: "MAINPID=4711"
 
+     WATCHDOG=1   Tells systemd to update the watchdog timestamp.
+                  Services using this feature should do this in
+                  regular intervals. A watchdog framework can use the
+                  timestamps to detect failed services.
+
   Daemons can choose to send additional variables. However, it is
   recommended to prefix variable names not listed above with X_.