summaryrefslogtreecommitdiffstats
path: root/src/shutdownd
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-21 17:19:28 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-21 17:24:21 +0200
commitaf4ec4309e8f82aad87a8d574785c12f8763d5f8 (patch)
treea592a4d9bae7af0d2bfccd2206c0be32e0712c7b /src/shutdownd
parentcore: allow informing systemd about service status changes with RELOADING=1 a... (diff)
downloadsystemd-af4ec4309e8f82aad87a8d574785c12f8763d5f8.tar.xz
systemd-af4ec4309e8f82aad87a8d574785c12f8763d5f8.zip
notify: send STOPPING=1 from our daemons
Diffstat (limited to 'src/shutdownd')
-rw-r--r--src/shutdownd/shutdownd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shutdownd/shutdownd.c b/src/shutdownd/shutdownd.c
index 92907497ed..99aa4b32b3 100644
--- a/src/shutdownd/shutdownd.c
+++ b/src/shutdownd/shutdownd.c
@@ -456,6 +456,7 @@ finish:
}
sd_notify(false,
+ "STOPPING=\n"
"STATUS=Exiting...");
return r;