From: Zbigniew Jędrzejewski-Szmek Date: Fri, 16 Nov 2018 13:56:59 +0000 (+0100) Subject: portabled: add missing STOPPING=1 notification X-Git-Tag: v240~280^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44c5d0442ed5e572816d82bb67009bb7a8957cba;p=thirdparty%2Fsystemd.git portabled: add missing STOPPING=1 notification --- diff --git a/src/portable/portabled.c b/src/portable/portabled.c index e5efac51d01..a853257bc02 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; }