diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-04 09:37:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-04 11:44:00 +0200 |
commit | 08575132c9bfc65916ec085789f84378e56bbd42 (patch) | |
tree | 70180bf15f412c87aa8dca9545e6fab96c1bd1e9 /main/pingu/pingu.initd | |
parent | a8d4777e2002926a74c002c100cdfe3c41ae7382 (diff) | |
download | aports-08575132c9bfc65916ec085789f84378e56bbd42.tar.bz2 aports-08575132c9bfc65916ec085789f84378e56bbd42.tar.xz |
main/pingu: create piddir on service start
Create the directory for the pidfile in openrc init.d script.
fixes #9369
Diffstat (limited to 'main/pingu/pingu.initd')
-rw-r--r-- | main/pingu/pingu.initd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/pingu/pingu.initd b/main/pingu/pingu.initd index 517bdd892c..1f7022fe4a 100644 --- a/main/pingu/pingu.initd +++ b/main/pingu/pingu.initd @@ -13,6 +13,7 @@ depend() { } start_pre() { + checkpath --directory ${pidfile%/*} if ! [ -f "$route_rules" ]; then return 0 fi |