blob: 9dfa99b0c3aeac127d84fce2c0417c06c82bb421 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/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
}
|