X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fdaemon.xml;h=dfee39016479671c416cff91727efd9cea422c17;hp=01ab0f3b511ed655a6e44d8cc879b3a68f99b564;hb=e167fb86f6935c0fe989d6ccfbbc0acadba245a2;hpb=99ffae46d38f05b6c8bc09fe29e50a507ae8b79b diff --git a/man/daemon.xml b/man/daemon.xml index 01ab0f3b5..dfee39016 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -384,7 +384,7 @@ communication channels are established already, and no request is lost because client requests will be queued by the bus system (in case of D-Bus) or the kernel (in - case of sockets), until the activation + case of sockets), until the activation is completed. @@ -726,7 +726,7 @@ install their systemd unit files in the directory returned by pkg-config systemd - --variable=systemdsystemnunitdir + --variable=systemdsystemunitdir (for system services), resp. pkg-config systemd --variable=systemdsessionunitdir @@ -793,11 +793,11 @@ endif package managers: %post -/usr/bin/systemd-install enable foobar.service foobar.socket >/dev/null 2>&1 || : +/usr/bin/systemd-install --start enable foobar.service foobar.socket >/dev/null 2>&1 || : %preun if [ "$1" -eq 0 ]; then - /usr/bin/systemd-install disable foobar.service foobar.socket >/dev/null 2>&1 || : + /usr/bin/systemd-install --start disable foobar.service foobar.socket >/dev/null 2>&1 || : fi @@ -809,8 +809,8 @@ fi Since new-style init systems such as systemd are compatible with traditional SysV init systems it is not strictly necessary to port existing daemons to the - new style. However doing this offers additional - functionality to the daemons as well as it simplifies + new style. However doing so offers additional + functionality to the daemons as well as simplifying integration into new-style init systems. To port an existing SysV compatible daemon the @@ -849,7 +849,7 @@ fi left-over file descriptors are passed to executed processes, it might be a good choice to simply skip the closing of all remaining - open file descriptors if file descriptors are + open file descriptors if sockets are passed. Write and install a systemd