mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-18 12:13:42 +02:00
17 lines
366 B
Plaintext
17 lines
366 B
Plaintext
#!/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"
|