diff options
author | John Crispin <blogic@openwrt.org> | 2013-11-19 15:48:37 +0100 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-11-19 17:20:23 +0100 |
commit | bc5cdc15f4247dd0d42a636501c5787a6af13b98 (patch) | |
tree | 9a6120d89142176affd57ec7fffb39bbc7fd37f6 | |
parent | aed06fc9cbad91c4f864f0867a187c54cb49aace (diff) | |
download | unitd-bc5cdc15f4247dd0d42a636501c5787a6af13b98.tar unitd-bc5cdc15f4247dd0d42a636501c5787a6af13b98.zip |
fix up the order of respawn parameters for ubus
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r-- | service/service.c | 4 |
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); |