chiark / gitweb /
notify: send STOPPING=1 from our daemons
[elogind.git] / src / journal / journald.c
index b1a0e25d0cee575149cd37d639ee9a4ee51e0811..de40827d6aac109f524576e6cc42e1ba7b28193f 100644 (file)
@@ -116,7 +116,9 @@ int main(int argc, char *argv[]) {
         server_driver_message(&server, SD_MESSAGE_JOURNAL_STOP, "Journal stopped");
 
 finish:
-        sd_notify(false, "STATUS=Shutting down...");
+        sd_notify(false,
+                  "STOPPING=1\n"
+                  "STATUS=Shutting down...");
 
         server_done(&server);