X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_booted.xml;h=f699cefb14b2dc7d99fe3cfedf9d73516d266c56;hb=8f61afd8d8e17c4e4970435e857d84465f019354;hp=ce5a34dc86849c198f8b87fcf577d68ad88d6640;hpb=66e411811b8090d1bfd6620fc84472d83f723fa1;p=elogind.git diff --git a/man/sd_booted.xml b/man/sd_booted.xml index ce5a34dc8..f699cefb1 100644 --- a/man/sd_booted.xml +++ b/man/sd_booted.xml @@ -76,13 +76,10 @@ Notes - This function is provided by the reference - implementation of APIs for new-style daemons and - distributed with the systemd package. The algorithm it - implements is simple, and can easily be reimplemented - in daemons if it is important to support this - interface without using the reference - implementation. + These APIs are implemented as a shared library, + which can be compiled and linked to with the + libsystemd pkg-config1 + file. Internally, this function checks whether the directory /run/systemd/system/ @@ -90,30 +87,6 @@ implemented trivially in shell or any other language. - For details about the algorithm check the - liberally licensed reference implementation sources: - - and - - sd_booted() is implemented - in the reference implementation's - sd-daemon.c and - sd-daemon.h files. These - interfaces are available as shared library, which can - be compiled and linked to with the - libsystemd-daemon - pkg-config1 - file. Alternatively, applications consuming these APIs - may copy the implementation into their source - tree. For more details about the reference - implementation see - sd-daemon3. - - If the reference implementation is used as - drop-in files and -DDISABLE_SYSTEMD is set during - compilation this function will always return 0 and - otherwise become a NOP.