summaryrefslogtreecommitdiffstats
path: root/instance.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-09-04 01:50:25 +0200
committerJohn Crispin <blogic@openwrt.org>2013-09-13 17:35:55 +0200
commit98218b6aa89777ae392be871b9119e10fda68acb (patch)
tree16c1fa5f044f522eb4cebbb799176df8b4f2b2c6 /instance.h
parent95fbb7eddb70db8e3b4d7d04a71418f5eb1a4a29 (diff)
downloadunitd-98218b6aa89777ae392be871b9119e10fda68acb.tar
unitd-98218b6aa89777ae392be871b9119e10fda68acb.zip
add code to configure respawn via ubus
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'instance.h')
-rw-r--r--instance.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/instance.h b/instance.h
index 1c8c0a0..6e69086 100644
--- a/instance.h
+++ b/instance.h
@@ -35,9 +35,9 @@ struct service_instance {
int respawn_count;
struct timespec start;
- int respawn_timeout;
- int respawn_threshold;
- int respawn_retry;
+ uint32_t respawn_timeout;
+ uint32_t respawn_threshold;
+ uint32_t respawn_retry;
struct blob_attr *config;
struct uloop_process proc;