daemon-util: Rename starting/stopping message constants

Currently, NOTIFY_READY from daemon-util.h conflicts with NOTIFY_READY
from NotifyState from service.h so let's rename the constants to avoid
the conflict.
This commit is contained in:
Daan De Meyer
2025-05-01 14:02:17 +02:00
parent a40f6dd4d8
commit 792a8bfb8a
29 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ int bus_event_loop_with_idle(
/* Inform the service manager that we are going down, so that it will queue all
* further start requests, instead of assuming we are still running. */
(void) sd_notify(false, NOTIFY_STOPPING);
(void) sd_notify(false, NOTIFY_STOPPING_MESSAGE);
r = bus_async_unregister_and_exit(e, bus, name);
if (r < 0)