summaryrefslogtreecommitdiffstats
path: root/service/service.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-19 15:48:37 +0100
committerJohn Crispin <blogic@openwrt.org>2013-11-19 17:20:23 +0100
commitbc5cdc15f4247dd0d42a636501c5787a6af13b98 (patch)
tree9a6120d89142176affd57ec7fffb39bbc7fd37f6 /service/service.c
parentaed06fc9cbad91c4f864f0867a187c54cb49aace (diff)
downloadunitd-bc5cdc15f4247dd0d42a636501c5787a6af13b98.tar
unitd-bc5cdc15f4247dd0d42a636501c5787a6af13b98.zip
fix up the order of respawn parameters for ubus
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'service/service.c')
-rw-r--r--service/service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/service.c b/service/service.c
index 4153fec..d084371 100644
--- a/service/service.c
+++ b/service/service.c
@@ -446,9 +446,9 @@ service_start_early(char *name, char *cmdline)
}
blobmsg_close_array(&b, command);
respawn = blobmsg_open_array(&b, "respawn");
- blobmsg_add_string(&b, NULL, "1");
blobmsg_add_string(&b, NULL, "3600");
- blobmsg_add_string(&b, NULL, "10");
+ blobmsg_add_string(&b, NULL, "1");
+ blobmsg_add_string(&b, NULL, "0");
blobmsg_close_array(&b, respawn);
blobmsg_close_table(&b, instance);
blobmsg_close_table(&b, instances);