aboutsummaryrefslogtreecommitdiffstats
path: root/main/bacula/bacula-dir.initd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2019-01-08 10:38:25 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-01-08 10:39:02 +0000
commitaad36dcf3a57ed14c9241182dbe94a7b16c2faee (patch)
treea10f8aa21c2c91c1e32c018fa7a36c5436cdcc7e /main/bacula/bacula-dir.initd
parent95e2df33b188eec05045b6a1ddb3a827c0eb29ee (diff)
downloadaports-aad36dcf3a57ed14c9241182dbe94a7b16c2faee.tar.bz2
aports-aad36dcf3a57ed14c9241182dbe94a7b16c2faee.tar.xz
main/bacula: make sure that the pidfile can be written by bacula-fd
Cosmetic adjustments to the other inits
Diffstat (limited to 'main/bacula/bacula-dir.initd')
-rw-r--r--main/bacula/bacula-dir.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/bacula/bacula-dir.initd b/main/bacula/bacula-dir.initd
index 2c3813ab62..8efa3a5285 100644
--- a/main/bacula/bacula-dir.initd
+++ b/main/bacula/bacula-dir.initd
@@ -18,7 +18,7 @@ depend() {
}
start_pre() {
- checkpath --directory --mode 0775 \
- --owner ${command_user}:${command_group} /run/bacula
+ checkpath --quiet --directory --mode 0775 \
+ --owner ${command_user}:${command_group} $(dirname $pidfile)
}