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

: ${cfgfile:="/etc/$RC_SVCNAME-socket.json"}

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

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

depend() {
	need net
}