summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 3fb7fc1b..4ae8af5e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -28,6 +28,7 @@
#include <sys/wait.h>
#include <systemd/sd-event.h>
+#include <systemd/sd-daemon.h>
#include "afb-config.h"
#include "afb-hswitch.h"
@@ -455,6 +456,7 @@ int main(int argc, char *argv[])
// infinite loop
eventloop = afb_common_get_event_loop();
+ sd_notify(1, "READY=1");
for (;;)
sd_event_run(eventloop, 30000000);