mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
- remove unneeded scripts - fix permissions for config-dirs, scripts and binaries - fix init-scripts to run with non-root user
15 lines
No EOL
239 B
Text
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%/*}"
|
|
} |