summaryrefslogtreecommitdiff
path: root/man/sd_notify.xml
Commit message (Collapse)AuthorAge
* Reindent man pages to 2chZbigniew Jędrzejewski-Szmek2015-02-03
|
* treewide: fix multiple typosTorstein Husebø2015-01-26
|
* core: add new logic for services to store file descriptors in PID 1Lennart Poettering2015-01-06
| | | | | | | | | | | | | | With this change it is possible to send file descriptors to PID 1, via sd_pid_notify_with_fds() which PID 1 will store individually for each service, and pass via the usual fd passing logic on next invocation. This is useful for enable daemon reload schemes where daemons serialize their state to /run, push their fds into PID 1 and terminate, restoring their state on next start from the data in /run and passed in from PID 1. The fds are kept by PID 1 as long as no POLLHUP or POLLERR is seen on them, and the service they belong to are either not dead or failed, or have a job queued.
* 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.
* core: allow informing systemd about service status changes with RELOADING=1 ↵Lennart Poettering2014-08-21
| | | | and STOPPING=1 sd_notify() messages
* 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.
* man: wording and grammar updatesJan Engelhardt2013-09-12
| | | | | | | | | | | | This is a recurring submission and includes corrections to various issue spotted. I guess I can just skip over reporting ubiquitous comma placement fixes… Highligts in this particular commit: - the "unsigned" type qualifier is completed to form a full type "unsigned int" - alphabetic -> lexicographic (that way we automatically define how numbers get sorted)
* man: wording and grammar updatesJan Engelhardt2013-09-10
| | | | | | | | | This includes regularly-submitted corrections to comma setting and orthographical mishaps that appeared in man/ in recent commits. In this particular commit: - the usual comma fixes - expand contractions (this is prose)
* man: add more formatting markupZbigniew Jędrzejewski-Szmek2013-07-02
|
* man: fix spacing issue in various man pagesJason St. John2013-06-29
| | | | | | | | | | | | | Before: libsystemd-daemonpkg-config(1) After: libsystemd-daemon pkg-config(1) This fix is more complicated than it should be due to the consecutive XML elements separated by collapsible whitespace. Merging the lines and separating the XML elements with an en space or a non-breaking space is the only solution that results in one, and only one, space being inserted between them when testing. An em space results in two spaces being inserted.
* man: use <constant> for various constants which look ugly with quotesZbigniew Jędrzejewski-Szmek2013-06-26
|
* man: extend systemd.directives(7) to all manual pagesZbigniew Jędrzejewski-Szmek2013-01-26
| | | | | | | | | | New sections are added: PAM options, crypttab options, commandline options, miscellaneous. The last category will be used for all untagged <varname> elements. Commandline options sections is meant to be a developer tool: when adding an option it is sometimes useful to be able to check if similarly named options exist elsewhere.
* man: typo fixesThomas Hindoe Paaboel Andersen2012-10-26
| | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=55890 Fixed typos, serial comma, and removed "either" as there were more than two options. Also did an extra rename of "system-shutdown" to "systemd-shutdown" that was forgotten in commit 8bd3b8620c80d0f2383f2fb04315411fc8077ca1
* Reword sentences that contain psuedo-English "resp."Andrew Eikum2012-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | As you likely know, Arch Linux is in the process of moving to systemd. So I was reading through the various systemd docs and quickly became baffled by this new abbreviation "resp.", which I've never seen before in my English-mother-tongue life. Some quick Googling turned up a reference: <http://www.transblawg.eu/index.php?/archives/870-Resp.-and-other-non-existent-English-wordsNicht-existente-englische-Woerter.html> I guess it's a literal translation of the German "Beziehungsweise", but English doesn't work the same way. The word "respectively" is used exclusively to provide an ordering connection between two lists. E.g. "the prefixes k, M, and G refer to kilo-, mega-, and giga-, respectively." It is also never abbreviated to "resp." So the sentence "Sets the default output resp. error output for all services and sockets" makes no sense to a natural English speaker. This patch removes all instances of "resp." in the man pages and replaces them with sentences which are much more clear and, hopefully, grammatically valid. In almost all instances, it was simply replacing "resp." with "or," which the original author (Lennart?) could probably just do in the future. The only other instances of "resp." are in the src/ subtree, which I don't feel privileged to correct. Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
* daemon: Fix broken links to sd-daemon.cEelco Dolstra2012-09-13
|
* man: reword man page titlesLennart Poettering2012-07-16
| | | | | Make sure the man page titles are similar in style and capitalization so that our man page index looks pretty.
* man: move header file man pages from section 7 to 3Lennart Poettering2012-07-13
| | | | | This way we can include documentation about minor macros/inline function within the introducionary man page in a sane way.
* man: extend watchdog docs a bitLennart Poettering2012-06-28
|
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-12
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* Fix broken Git repository URLsMichael Biebl2012-02-13
|
* service: add watchdog timestampMichael Olbrich2012-02-01
| | | | | | | | | | | | | This patch adds WatchdogTimestamp[Monotonic] to the systemd service D-Bus API. The timestamp is updated to the current time when the service calls 'sd_nofity("WATCHDOG=1\n")'. Using a timestamp instead of an 'alive' flag has two advantages: 1. No timeout is needed to define when a service is no longer alive. This simplifies both configuration (no timeout value) and implementation (no timeout event). 2. It is more robust. A 'dead' service might not be detected should systemd 'forget' to reset an 'alive' flag. It is much less likely to get a valid new timestamp if a service died.
* headers: fix git URLs for source filesLennart Poettering2012-01-05
|
* Merge branch 'journal'Lennart Poettering2011-12-31
|\
| * sd-daemon: fix #include lines since we now ship a shared libraryLennart Poettering2011-12-19
| |
* | man: fix typo in sd_notifyMichal Schmidt2011-11-11
|/ | | | Noticed by guzu.
* man: document that sd-daemon.[ch] is now available as shared libraryLennart Poettering2011-09-22
|
* man: Fix small typo: s/seperate/separate/Michael Biebl2010-09-06
|
* man: minor edits to daemon, sd_listen_fds, sd_notify, systemctl, ↵Conrad Meyer2010-07-07
| | | | | | systemd.exec, systemd, and systemd.timer pages Just some minor grammar fixes.
* man: various fixesKay Sievers2010-06-25
|
* man: spelling fixesKay Sievers2010-06-24
|
* man: extend manual page documentationLennart Poettering2010-06-24
|
* man: add more man pagesLennart Poettering2010-06-24
|
* man: document sd-daemon.[ch]Lennart Poettering2010-06-23