Use STOPPING=1 when shutting down
PATCH 1/1 Use STOPPING=1 when shutting down
Quoting sd_notify(3):
STOPPING=1
Tells the service manager that the service is beginning its shutdown.
--- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/main.c +1 -1
@@ -707,7 +707,7 @@ int main(int argc, char *argv[])g_main_loop_run (event_loop); -sd_notify (0 ,"STATUS=Quitting" ); +sd_notify (0 ,"STOPPING=1\nSTATUS=Quitting" );g_source_remove (signal);
Signature · 1 line
2.9.3