aboutsummaryrefslogtreecommitdiffstats
path: root/main/bacula/bacula-sd.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-sd.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-sd.initd')
-rw-r--r--main/bacula/bacula-sd.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/bacula/bacula-sd.initd b/main/bacula/bacula-sd.initd
index a678299e55..3300047f1b 100644
--- a/main/bacula/bacula-sd.initd
+++ b/main/bacula/bacula-sd.initd
@@ -18,6 +18,6 @@ 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)
}