summaryrefslogtreecommitdiff
path: root/man/sd_watchdog_enabled.xml
Commit message (Collapse)AuthorAge
* Reindent man pages to 2chZbigniew Jędrzejewski-Szmek2015-02-03
|
* man: typo in sd_watchdog_enabled notesManuel Mendez2014-12-25
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=87642
* sd-daemon,man: ignore missing $WATCHDOG_PIDZbigniew Jędrzejewski-Szmek2014-10-23
| | | | | | | | | | | | | | | | Systemd 209 started setting $WATCHDOG_PID, and sd-daemon watch was modified to check for this variable. This means that sd_watchdog_enabled() stopped working with previous versions of systemd. But sd-event is a public library and API and we must keep it working even when a program compiled with a newer version of the libary is used on a system running an older version of the manager. getenv() and unsetenv() are fairly expensive calls, so optimize sd_watchdog_enabled() by not calling them when unnecessary. man: centralize the description of $WATCHDOG_PID and $WATCHDOG_USEC in the sd_watchdog_enabled manpage. It is better not to repeat the same stuff in two places.
* man: fix sd_watchdog_enabled() prototype in man pageLennart Poettering2014-06-27
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=80597
* man: xinclude pkg-config noteZbigniew Jędrzejewski-Szmek2014-02-20
|
* man: don't advertise sd-daemon as embeddable anymoreLennart Poettering2014-02-19
| | | | It's now part of libsystemd, and should be used like any other API.
* man: improvements to comma placementJan Engelhardt2013-12-25
| | | | | This is a recurring submission and includes corrections to: comma placement.
* man: resolve word omissionsJan Engelhardt2013-12-25
| | | | | This is a recurring submission and includes corrections to: word omissions and word class choice.
* sd-daemon: introduce sd_watchdog_enabled() for parsing $WATCHDOG_USECLennart Poettering2013-12-22
Also, introduce a new environment variable named $WATCHDOG_PID which cotnains the PID of the process that is supposed to send the keep-alive events. This is similar how $LISTEN_FDS and $LISTEN_PID work together, and protects against confusing processes further down the process tree due to inherited environment.