diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-21 17:19:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-21 17:24:21 +0200 |
commit | af4ec4309e8f82aad87a8d574785c12f8763d5f8 (patch) | |
tree | a592a4d9bae7af0d2bfccd2206c0be32e0712c7b /src/resolve | |
parent | 308d72dc1e2106f94ae637e2ea510e8d466d2af1 (diff) | |
download | systemd-af4ec4309e8f82aad87a8d574785c12f8763d5f8.tar.gz |
notify: send STOPPING=1 from our daemons
Diffstat (limited to 'src/resolve')
-rw-r--r-- | src/resolve/resolved.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resolve/resolved.c b/src/resolve/resolved.c index 8235558585..88c3bcc591 100644 --- a/src/resolve/resolved.c +++ b/src/resolve/resolved.c @@ -100,7 +100,9 @@ int main(int argc, char *argv[]) { sd_event_get_exit_code(m->event, &r); finish: - sd_notify(false, "STATUS=Shutting down..."); + sd_notify(false, + "STOPPIN=1\n" + "STATUS=Shutting down..."); return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS; } |