summaryrefslogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-18 11:32:47 +0100
committerJohn Crispin <blogic@openwrt.org>2013-11-18 11:32:47 +0100
commiteb7c76ede8d0d41c7139c704236c6111da56da46 (patch)
treec27a468e3e0da4b423fe3ee91e73d69f600fff2b /service
parent2397901d9d5cdc1ccf42777036e70fe9248182a0 (diff)
downloadunitd-eb7c76ede8d0d41c7139c704236c6111da56da46.tar
unitd-eb7c76ede8d0d41c7139c704236c6111da56da46.zip
make the service running trigger be queued directly after the service was startetd
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'service')
-rw-r--r--service/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/service.c b/service/service.c
index aa393b9..4153fec 100644
--- a/service/service.c
+++ b/service/service.c
@@ -139,7 +139,7 @@ service_update(struct service *s, struct blob_attr *config, struct blob_attr **t
vlist_flush(&s->instances);
}
- rc(s->name, "running");
+ rcnow(s->name, "running");
return 0;
}