summaryrefslogtreecommitdiff
path: root/src/initctl
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/initctl
parent308d72dc1e2106f94ae637e2ea510e8d466d2af1 (diff)
notify: send STOPPING=1 from our daemons
Diffstat (limited to 'src/initctl')
-rw-r--r--src/initctl/initctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/initctl/initctl.c b/src/initctl/initctl.c
index 0954e58afd..f1c2b8dfb4 100644
--- a/src/initctl/initctl.c
+++ b/src/initctl/initctl.c
@@ -431,6 +431,7 @@ int main(int argc, char *argv[]) {
fail:
sd_notify(false,
+ "STOPPING=1\n"
"STATUS=Shutting down...");
server_done(&server);