aports/testing/traefik/traefik.initd
Michał Polański 2849b857bd testing/traefik: upgrade to 2.2.3
and update init script
2020-07-09 23:24:35 +00:00

17 lines
351 B
Plaintext

#!/sbin/openrc-run
supervisor=supervise-daemon
name="Traefik"
description="Modern reverse proxy and load balancer"
command="/usr/sbin/traefik"
command_args="$traefik_opts"
command_user="traefik:traefik"
description_healthcheck="Check health status by calling /ping endpoint"
healthcheck_timer=30
healthcheck() {
$command healthcheck >/dev/null
}