Let plugins hook into service startup to notify 3rd party daemon.

This commit adds support for calling plugin hooks when all services
have been started properly. Useful for, e.g., a 3rd party service
monitor to trigger further events on.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2012-09-27 15:25:10 +02:00
1 parent 103bf33b3c
commit 0d70fa4cf0
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -400,7 +400,8 @@ void svc_start_all(void)
svc_reload(svc);
}
/* XXX: Hook point for plugins. */
_d("Running svc up hooks ...");
run_hooks(HOOK_SVC_UP);
}