From 592c5323f1dc212cfdf7d2a1df1c8ba2d2790497 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 12 Sep 2017 13:12:36 +0200 Subject: [PATCH] Update trace attribute When a service is started for the first time without trace attribute (e.g. during boot), then it was impossible to restart it in tracing mode (/etc/init.d/service trace). This is fixed here. Signed-off-by: Michal Sojka --- service/instance.c | 1 + 1 file changed, 1 insertion(+) diff --git a/service/instance.c b/service/instance.c index dc7e3ca..1760a09 100644 --- a/service/instance.c +++ b/service/instance.c @@ -941,6 +941,7 @@ instance_config_move(struct service_instance *in, struct service_instance *in_sr in->command = in_src->command; in->pidfile = in_src->pidfile; in->name = in_src->name; + in->trace = in_src->trace; in->node.avl.key = in_src->node.avl.key; free(in->config); -- 2.11.0