diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-01-04 20:40:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-04 20:40:04 +0100 |
commit | e6960940b6dc5ab81eb2fca4061c333e1795f38d (patch) | |
tree | 08ec0a8cc0bcc64f4a053d24a101101d71c96033 /src/login | |
parent | 3606df64abfa79e8fad7bd75c8634c116a6f1c96 (diff) |
journald: parse configuration file
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/logind.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/login/logind.c b/src/login/logind.c index 333d5f85bd..0df6b8964c 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -1224,9 +1224,20 @@ int main(int argc, char *argv[]) { goto finish; } + log_debug("systemd-logind running as pid %lu", (unsigned long) getpid()); + + sd_notify(false, + "READY=1\n" + "STATUS=Processing requests..."); + r = manager_run(m); + log_debug("systemd-logind stopped as pid %lu", (unsigned long) getpid()); + finish: + sd_notify(false, + "STATUS=Shutting down..."); + if (m) manager_free(m); |