diff options
Diffstat (limited to 'templates/prometheus.runit')
| -rw-r--r-- | templates/prometheus.runit | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/prometheus.runit b/templates/prometheus.runit new file mode 100644 index 0000000..b14e2d1 --- /dev/null +++ b/templates/prometheus.runit @@ -0,0 +1,5 @@ +#!/bin/sh +exec chpst -u {{prometheus_user}} \ + {{prometheus_home_dir}}/prometheus/prometheus \ + {{prometheus_opts | replace('\n', ' ')}} \ + > {{prometheus_log}} 2>&1 |
