aboutsummaryrefslogtreecommitdiff
path: root/src/includes/queue.h
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@gentoo.org>2018-04-21 23:13:15 +0100
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-05-02 13:42:59 -0500
commit0200002b8cbd061ac79b6aed4024220cd0386d2c (patch)
treeb4fb60c01271e337c30823526866d8d632da9ffb /src/includes/queue.h
parentf4e2142089487b7f5c99da949d7bf8d038724df7 (diff)
start-stop-daemon: don't fail stopping if pidfile is gone
If pidfile does not exist when we are stopping the daemon, assume it is already stopped, and report success. hostapd is an example of a daemon which removes its pidfile when it is exiting. If this daemon terminates prematurely, that is, without s-s-d involvement, then openrc fails to restart it, because s-s-d "stop" command fails when pidfile is missing. X-Gentoo-Bug: 646274 X-Gentoo-Bug-URL: https://bugs.gentoo.org/646274
Diffstat (limited to 'src/includes/queue.h')
0 files changed, 0 insertions, 0 deletions