mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
portabled: add missing STOPPING=1 notification
This commit is contained in:
parent
166a9dc66f
commit
44c5d0442e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user