1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/bareos/bareos-fd.initd
Valery Kartel c6464a23fc community/bareos: fix APKBUILD and init-scripts
- remove unneeded scripts
- fix permissions for config-dirs, scripts and binaries
- fix init-scripts to run with non-root user
2017-08-28 06:46:19 +00:00

15 lines
No EOL
239 B
Text

#!/sbin/openrc-run
name="Bareos File daemon"
pidfile=/run/bareos/bareos-fd.9102.pid
command=/usr/sbin/bareos-fd
command_args="-u root -g bareos"
depend() {
need net
use dns
}
start_pre() {
checkpath -dm750 -o bareos "${pidfile%/*}"
}