diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2020-11-13 17:47:31 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2020-11-13 17:47:31 -0500 |
| commit | 01cda8792213340fdedcd364dedb2a73564d27f2 (patch) | |
| tree | 54af9ac384b043b52a9dd752e9a41cbbe68d1a82 /templates/prometheus.runit | |
| parent | 3d157fef24360238f39c44529f1b2ec3b70e411b (diff) | |
| download | prometheus-01cda8792213340fdedcd364dedb2a73564d27f2.tar.gz prometheus-01cda8792213340fdedcd364dedb2a73564d27f2.tar.xz | |
Remove systemd support. Add alertmanager. Remove old template
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 |
