aboutsummaryrefslogtreecommitdiffstats
path: root/community/bareos/bareos-sd.initd
blob: abbf951cddb0f70e986e7f04e8ca0bca428fc01e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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%/*}"
}