Use one generic routine to access /proc/cmdline
[project/procd.git] / service / instance.h
index 65b670e..f76e795 100644 (file)
@@ -29,6 +29,9 @@ struct service_instance {
        int8_t nice;
        bool valid;
 
+       uid_t uid;
+       gid_t gid;
+
        bool halt;
        bool restart;
        bool respawn;
@@ -49,6 +52,8 @@ struct service_instance {
        struct blobmsg_list data;
        struct blobmsg_list netdev;
        struct blobmsg_list file;
+       struct blobmsg_list limits;
+       struct blobmsg_list errors;
 };
 
 void instance_start(struct service_instance *in);