summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/portable/portabled.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/portable/portabled.c b/src/portable/portabled.c
index e5efac51d0..a853257bc0 100644
--- a/src/portable/portabled.c
+++ b/src/portable/portabled.c
@@ -154,6 +154,9 @@ static int run(int argc, char *argv[]) {
r = manager_run(m);
+ (void) sd_notify(false,
+ "STOPPING=1\n"
+ "STATUS=Shutting down...");
log_debug("systemd-portabled stopped as pid " PID_FMT, getpid_cached());
return r;
}