keventd: signal readiness via pidfile after coldplug

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2026-08-16 22:03:30 +02:00
1 parent db5567b5d1
commit 48f677c3a0
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -2691,7 +2691,7 @@ int conf_init(uev_ctx_t *ctx)
conf_save_service(SVC_TYPE_SERVICE, "keventd", "keventd.conf",
"\tdescription = \"kernel event daemon\"\n"
"\trunlevel = \"S0123456789\"\n"
"\tnotify = \"none\"\n"
"\tnotify = \"pid\"\n"
"\tcgroup init {}\n"
"\tcommand = \"" FINIT_EXECPATH_ "/keventd"
#ifdef HAVE_HOTPLUG_PLUGIN
+1
View File
@@ -539,6 +539,7 @@ int main(int argc, char *argv[])
if (do_coldplug)
coldplug();
pidfile(NULL);
logit(LOG_NOTICE, "keventd v%s started, waiting for events...", KEVENTD_VERSION);
while (running) {