]> err.no Git - systemd/commit
shutdownd: rework interface, allow subscribing to scheduled shutdowns
authorLennart Poettering <lennart@poettering.net>
Wed, 11 Apr 2012 00:04:46 +0000 (02:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Apr 2012 00:04:46 +0000 (02:04 +0200)
commit04ebb5956719e3e301e1c08443c496ad97399544
treeef0bf3f6a37d48e688c2aff6cd3c77c9c7a7dfad
parent7e59bfcb18bcfdb82fa1f197c935bb15a22aa582
shutdownd: rework interface, allow subscribing to scheduled shutdowns

This extends the shutdownd interface to expose schedule shutdown
information in /run/systemd/shutdown/schedule.

This also cleans up the shutdownd protocol and documents it in a header
file sd-shutdown.h.

This is supposed to be used by client code that wants to control and
monitor scheduled shutdown.
Makefile.am
src/shutdownd.c
src/shutdownd.h [deleted file]
src/systemctl.c
src/systemd/sd-shutdown.h [new file with mode: 0644]
tmpfiles.d/systemd.conf