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