summaryrefslogtreecommitdiffstats
path: root/service/instance.h
diff options
context:
space:
mode:
Diffstat (limited to 'service/instance.h')
-rw-r--r--service/instance.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/instance.h b/service/instance.h
index f76e795..56ce797 100644
--- a/service/instance.h
+++ b/service/instance.h
@@ -17,6 +17,7 @@
#include <libubox/vlist.h>
#include <libubox/uloop.h>
+#include <libubox/ustream.h>
#include "../utils/utils.h"
#define RESPAWN_ERROR (5 * 60)
@@ -45,6 +46,8 @@ struct service_instance {
struct blob_attr *config;
struct uloop_process proc;
struct uloop_timeout timeout;
+ struct ustream_fd stdout;
+ struct ustream_fd stderr;
struct blob_attr *command;
struct blob_attr *trigger;