mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
- remove unneeded scripts - fix permissions for config-dirs, scripts and binaries - fix init-scripts to run with non-root user
16 lines
245 B
Plaintext
16 lines
245 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
name="Bareos Storage daemon"
|
|
pidfile=/run/bareos/bareos-sd.9103.pid
|
|
command=/usr/sbin/bareos-sd
|
|
command_args="-u bareos -g bareos"
|
|
|
|
depend() {
|
|
need net
|
|
use dns
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -dm750 -o bareos "${pidfile%/*}"
|
|
}
|