mirror of
https://github.com/troglobit/finit.git
synced 2026-10-18 10:59:34 +00:00
keventd: signal readiness via pidfile after coldplug
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user