procd: remove pidfile after unexpected termination without respawn
authorJurgen Van Ham <juvanham.tc@gmail.com>
Tue, 5 Jul 2016 07:57:18 +0000 (09:57 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 5 Jul 2016 08:20:16 +0000 (10:20 +0200)
commit64970552b42b33cc22220e0943671b597d9243f6
treec54bb981e9ea9b1313e7246bbdfe3a60df98b036
parent7be2859d91cb8c72bd8c84d69a03372088b78a3f
procd: remove pidfile after unexpected termination without respawn

When procd detects a daemon halts and it is not configured to
be respawned, the pidfile has to be removed.

Signed-off-by: Jurgen Van Ham <juvanham.tc@gmail.com>
service/instance.c