blob: be68d77e674b39b7e98ce903682a6a8ded8f2120 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/sbin/openrc-run
description="nftables load balancer"
command="/usr/sbin/nftlb"
command_args="
${log_level:+--log $log_level}
${cfgfile:+--config $cfgfile}
${auth_key:+--key '$auth_key'}
${listen_ipv6:+--ipv6}
${listen_host:+--host $listen_host}
${listen_port:+--port $listen_port}
$command_args
"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
|