summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
4291309)
Change-Id: I10251b0800ac44e59d2a17ebd202c9f55c5c9196
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
#include <sys/wait.h>
#include <systemd/sd-event.h>
#include <sys/wait.h>
#include <systemd/sd-event.h>
+#include <systemd/sd-daemon.h>
#include "afb-config.h"
#include "afb-hswitch.h"
#include "afb-config.h"
#include "afb-hswitch.h"
// infinite loop
eventloop = afb_common_get_event_loop();
// infinite loop
eventloop = afb_common_get_event_loop();
+ sd_notify(1, "READY=1");
for (;;)
sd_event_run(eventloop, 30000000);
for (;;)
sd_event_run(eventloop, 30000000);