aboutsummaryrefslogtreecommitdiffstats
path: root/testing/traefik/traefik.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/traefik/traefik.initd')
-rw-r--r--testing/traefik/traefik.initd16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/traefik/traefik.initd b/testing/traefik/traefik.initd
new file mode 100644
index 0000000000..f0e8d8f05a
--- /dev/null
+++ b/testing/traefik/traefik.initd
@@ -0,0 +1,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
+}