Re: [LEDE-DEV] [PATCH] procd: Restore respawn on SIGTERM timeout

2018-01-04 Thread John Crispin
On 04/01/18 13:17, Kristian Evensen wrote: On Thu, Oct 19, 2017 at 3:02 PM, Kristian Evensen wrote: When SIGTERM times out, procd sends SIGKILL and then restarts the process once SIGCHLD has been received. This all works fine, with one exception - respawn is not restored when instance_start()

Re: [LEDE-DEV] [PATCH] procd: Restore respawn on SIGTERM timeout

2018-01-04 Thread Kristian Evensen
On Thu, Oct 19, 2017 at 3:02 PM, Kristian Evensen wrote: > When SIGTERM times out, procd sends SIGKILL and then restarts the > process once SIGCHLD has been received. This all works fine, with one > exception - respawn is not restored when instance_start() is called from > instance_exit(). The rea

Re: [LEDE-DEV] [PATCH] procd: Restore respawn on SIGTERM timeout

2017-11-28 Thread Kristian Evensen
Hi Karl, Sorry for my extremely late reply. For some reason, it was not picked up by Gmail and I did not see it before today. Since it was not picked up by Gmail, I had to do some creative c&p, sorry in advance for weird formatting. >>Kristian Evensen wrote: >> When SIGTERM times out, procd send

Re: [LEDE-DEV] [PATCH] procd: Restore respawn on SIGTERM timeout

2017-10-19 Thread Karl Palsson
Kristian Evensen wrote: > When SIGTERM times out, procd sends SIGKILL and then restarts > the process once SIGCHLD has been received. This all works > fine, with one exception - respawn is not restored when > instance_start() is called from instance_exit(). The reason is > that respawn is always

[LEDE-DEV] [PATCH] procd: Restore respawn on SIGTERM timeout

2017-10-19 Thread Kristian Evensen
When SIGTERM times out, procd sends SIGKILL and then restarts the process once SIGCHLD has been received. This all works fine, with one exception - respawn is not restored when instance_start() is called from instance_exit(). The reason is that respawn is always set to false in instance_stop(), and