aboutsummaryrefslogtreecommitdiffstats
path: root/testing/traefik/traefik.initd
blob: f0e8d8f05a12697843423677c0142878590d8f05 (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="Traefik - a modern reverse proxy"

command=/usr/sbin/traefik
command_args="${traefik_opts}"
command_user="traefik:traefik"
pidfile=/run/${RC_SVCNAME}.pid

healthcheck_timer=60

healthcheck() {
	$command healthcheck >/dev/null
}