aboutsummaryrefslogtreecommitdiffstats
path: root/community/jool-tools/joold.initd
blob: ef35d36219b1930dd19982caf1275e7c5fc89ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run

: ${cfgfile:="/etc/jool/$RC_SVCNAME.conf"}

command="/usr/bin/joold"
command_args="$cfgfile"
command_background=yes

pidfile="/run/$RC_SVCNAME.pid"
required_files="$cfgfile"

depend() {
	need net jool
	after keepalived
}