1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00
aports/testing/nftlb/nftlb.initd
2020-02-04 22:39:26 +01:00

16 lines
366 B
Text

#!/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"