Miss this patch -> "[LEDE-DEV] [PATCH] procd: Restore respawn on
SIGTERM timeout"
(http://lists.infradead.org/pipermail/lede-dev/2017-October/009412.html)
It's try to solve same problem.
Description seems to be misleading (patch also seems to be wrong):
>When SIGTERM times out, procd sends SIGKILL
In case when we (async) stop instance
and then start it again while it not actually killed,
we just update config of old instance without remake (del and new)
so we should update/move all attr/cfg of instance
Signed-off-by: Pavel Merzlyakov
---
service/instance.c | 49
It's give ability to stop respawn of instance
which crashes in the beginning
Signed-off-by: Pavel Merzlyakov
---
service/instance.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/service/instance.c b/service/instance.c
index ecbb6ea..e2f0ee3 1
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
---
service/instance.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/service/instance.c b/service/instance.c
index