Commit aad36dcf authored by Leonardo Arena's avatar Leonardo Arena

main/bacula: make sure that the pidfile can be written by bacula-fd

Cosmetic adjustments to the other inits
parent 95e2df33
......@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=bacula
pkgver=9.4.1
pkgrel=0
pkgrel=1
pkgdesc="Enterprise ready, network based backup program"
url="http://www.bacula.org"
arch="all"
......@@ -171,7 +171,7 @@ client() {
}
sha512sums="5e05a939c5f457a121879a6108ce2ac6403dde556b415af4e5013e4f100cf4d878f3d468fd680fa1633a4c8d6ce3d7a6ed351a1600ef780166cd4be9b70191ee bacula-9.4.1.tar.gz
e3ea78c7b920ab33c94c715f9375cf8dc52fd963a526827941c3d6de619c999e00f01ac102d3260e4de457de50af146ab014862174b14524862c92e00908f765 bacula-dir.initd
60f174799ad15b0f5ea94bc578d3a58681e45b8306c059c4d7e78bc3c7edfcff95f8a551495d0af5a94dc645e96d1aa36d4c378f0dfd871e38b0c9b64b82da26 bacula-sd.initd
3887a65972f6a82b2b7b93521e534b8347a5ed9da36c9645eb2bf5eb683b6e0e3ee0613b048b7d2ec725e890ec0513afb2197adfd2bf5d91108dce3b23662c07 bacula-fd.initd
bb954bb94bffa68ba80872046782a73012487291f019fb8d7ff77fc7f4325e25bee88612b3279b4db7d3c2002ac7448ffabcda62da7bab54642a7413904abc91 bacula-dir.initd
0505b9a74520af6982d5df4390525976f8e009e641d0acfe8f24b2ec9f155166a65eecbabee9ff70ffe188d523effa64f958acd8f657410b1c002a6d736e8aee bacula-sd.initd
c83069da93b0f9da8449c89ab4f0167805ba04c79cce1e7d3e1a06308a18c34a0541927c3da165d6ed615068d1ffcd8b1ecff67f5606de8821cd8c82b8dffceb bacula-fd.initd
2d3757236aacca421261a8866ff04b5b0151538e1462559bd1240119b1bece1d456acbba9fee86dbc6aaec7af2a52eb2c0b7490c5f371b7deb478731c74342ff bacula-7.4.0-path-mounted.patch"
......@@ -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)
}
......@@ -16,3 +16,8 @@ depend() {
after firewall
}
start_pre() {
checkpath --quiet --directory --mode 0775\
--owner bacula:bacula $(dirname $pidfile)
}
......@@ -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)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment