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