From: Lennart Poettering Date: Sat, 10 Jul 2010 14:38:20 +0000 (+0200) Subject: systemd: send status message when shutting down X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=a9eb4cbb47598b26d53631bbf3c4bdb81e785185;p=catta systemd: send status message when shutting down --- diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c index c700406..18e8518 100644 --- a/avahi-daemon/main.c +++ b/avahi-daemon/main.c @@ -1635,7 +1635,10 @@ int main(int argc, char *argv[]) { if (run_server(&config) == 0) r = 0; - } + + avahi_log_info("%s "PACKAGE_VERSION" exiting.", argv0); + sd_notifyf(0, "STATUS=%s "PACKAGE_VERSION" exiting.", argv0); +} finish: