X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=service%2Finstance.h;h=78999c8b1b5fada250306cde971a0b3b7a528fff;hp=7490462cfae81a9d4e262839b44eb0b1bc305d8b;hb=961dc692aff7457f874bce61f8e766514edcf794;hpb=8490bb31a85e14a708e0db0b301e078d4b20657d diff --git a/service/instance.h b/service/instance.h index 7490462..78999c8 100644 --- a/service/instance.h +++ b/service/instance.h @@ -49,6 +49,7 @@ struct service_instance { bool restart; bool respawn; int respawn_count; + int reload_signal; struct timespec start; bool trace; @@ -56,7 +57,9 @@ struct service_instance { bool no_new_privs; struct jail jail; char *seccomp; + char *pidfile; + uint32_t term_timeout; uint32_t respawn_timeout; uint32_t respawn_threshold; uint32_t respawn_retry; @@ -79,7 +82,7 @@ struct service_instance { void instance_start(struct service_instance *in); void instance_stop(struct service_instance *in); -bool instance_update(struct service_instance *in, struct service_instance *in_new); +void instance_update(struct service_instance *in, struct service_instance *in_new); void instance_init(struct service_instance *in, struct service *s, struct blob_attr *config); void instance_free(struct service_instance *in); void instance_dump(struct blob_buf *b, struct service_instance *in, int debug);