diff options
author | Joonas Niilola <juippis@gentoo.org> | 2021-02-16 10:33:00 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-02-16 10:33:19 +0200 |
commit | 1f7a406c30e7c3d28528e70222120ef353f41f5a (patch) | |
tree | f41a2417cfa031fe39480b96ea1692dc57c9ff2b /app-emulation | |
parent | dev-lang/python: Bump to 3.7.10 (diff) | |
download | gentoo-1f7a406c30e7c3d28528e70222120ef353f41f5a.tar.gz gentoo-1f7a406c30e7c3d28528e70222120ef353f41f5a.tar.bz2 gentoo-1f7a406c30e7c3d28528e70222120ef353f41f5a.zip |
app-emulation/lxd: remove pidfile on shutdown
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/lxd/files/lxd-4.0.0.initd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app-emulation/lxd/files/lxd-4.0.0.initd b/app-emulation/lxd/files/lxd-4.0.0.initd index 51284f6e2ae1..1cd4da1840b0 100644 --- a/app-emulation/lxd/files/lxd-4.0.0.initd +++ b/app-emulation/lxd/files/lxd-4.0.0.initd @@ -31,5 +31,6 @@ start() { stop() { ebegin "Stopping lxd service (but not containers)." start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE} + rm -f ${PIDFILE} eend ${?} } |