From: Felix Fietkau Date: Sun, 24 Jun 2012 17:02:54 +0000 (+0200) Subject: enable restart on config change X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bbceda2ea3c7224fc06ae90fd4ca5a31651b2d2d;p=oweals%2Fprocd.git enable restart on config change --- diff --git a/instance.c b/instance.c index 8c3af4b..a1604f6 100644 --- a/instance.c +++ b/instance.c @@ -115,6 +115,7 @@ instance_update(struct service_instance *in, struct service_instance *in_new) if (!changed) return false; + in->restart = true; instance_stop(in, true); instance_config_move(in, in_new); return true;