summaryrefslogtreecommitdiff
blob: 1363833e89624757229ba3d90904fe43b0a7b211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/openrc-run
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

depend() {
	use dns
}

start_pre() {
	checkpath --directory --owner root:root --mode 00755 /run/bareos
}

command="/usr/sbin/bareos-dir"
command_args="-f ${DIR_OPTIONS}"
command_background="true"
pidfile="/run/bareos/bareos-dir.9101.pid"