From: John Crispin Date: Wed, 4 Sep 2013 14:56:24 +0000 (+0200) Subject: execute the "running" hook once the daemon is started X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8183146ad8c706c33465fbef926f5d6e971da625;p=project%2Fprocd.git execute the "running" hook once the daemon is started Signed-off-by: John Crispin --- diff --git a/service.c b/service.c index 7776f99..29acc57 100644 --- a/service.c +++ b/service.c @@ -17,6 +17,7 @@ #include "procd.h" #include "service.h" #include "instance.h" +#include "rcS.h" struct avl_tree services; static struct blob_buf b; @@ -125,6 +126,8 @@ service_update(struct service *s, struct blob_attr *config, struct blob_attr **t vlist_flush(&s->instances); } + rc(s->name, "running"); + return 0; }