diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-10-17 20:45:38 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-10-17 20:45:38 -0400 |
| commit | a83c53c2997327c9ee7ddf4856c6360ccf541a0a (patch) | |
| tree | 258668929292530a5ef90b415e92d2f6ede3147d /templates/prometheus.runit | |
| parent | 01cda8792213340fdedcd364dedb2a73564d27f2 (diff) | |
| download | prometheus-master.tar.gz prometheus-master.tar.xz | |
TLS Support for everything if you configure the vars properly.
Blackbox exporter.
Alertmanager discord for sending alerts there via webhooks.
Runit services for all of them.
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 |
