Without this fix respawn will be turned off in case when we (async) stop instance and then start it again while it not actually killed.
Signed-off-by: Pavel Merzlyakov <pavel.merzlya...@gmail.com> --- service/instance.c | 1 + 1 file changed, 1 insertion(+) diff --git a/service/instance.c b/service/instance.c index ecbb6ea..5a14f82 100644 --- a/service/instance.c +++ b/service/instance.c @@ -944,6 +944,7 @@ instance_config_move(struct service_instance *in, struct service_instance *in_sr in->trigger = in_src->trigger; in->command = in_src->command; in->pidfile = in_src->pidfile; + in->respawn = in_src->respawn; in->respawn_retry = in_src->respawn_retry; in->respawn_threshold = in_src->respawn_threshold; in->respawn_timeout = in_src->respawn_timeout; -- 2.16.1 _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev