summaryrefslogtreecommitdiffstats
path: root/service.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-07 17:51:41 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-06-07 17:51:41 +0200
commit86009b5439a898fa00cc27e675bb7834576be70a (patch)
tree7f30f346f20646e3e5c64a69bf18c1ccf0f9f9f7 /service.h
parente0d721487a618490a7db06f76904868a71684071 (diff)
downloadunitd-86009b5439a898fa00cc27e675bb7834576be70a.tar
unitd-86009b5439a898fa00cc27e675bb7834576be70a.zip
add more instance state handling code
Diffstat (limited to 'service.h')
-rw-r--r--service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/service.h b/service.h
index c2afdae..96175c4 100644
--- a/service.h
+++ b/service.h
@@ -15,7 +15,9 @@ struct service_instance {
struct vlist_node node;
const char *name;
+ bool restart;
struct blob_attr *config;
struct uloop_process proc;
+ struct uloop_timeout timeout;
};