diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-03-30 18:58:06 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-03-30 18:58:35 +0200 |
commit | 54feaa3e14b1fd1672a34addcabec757b75f9b80 (patch) | |
tree | 87eed94a0029bf43d679aec4eaa0e427f3257faa /app-metrics/redis_exporter/files/redis_exporter.service | |
parent | dev-lang/php: Version bump for 7.1.16 (diff) | |
download | gentoo-54feaa3e14b1fd1672a34addcabec757b75f9b80.tar.gz gentoo-54feaa3e14b1fd1672a34addcabec757b75f9b80.tar.bz2 gentoo-54feaa3e14b1fd1672a34addcabec757b75f9b80.zip |
app-metrics/redis_exporter: Move package from net-analyzer/prometheus-redis_exporter
Diffstat (limited to 'app-metrics/redis_exporter/files/redis_exporter.service')
-rw-r--r-- | app-metrics/redis_exporter/files/redis_exporter.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-metrics/redis_exporter/files/redis_exporter.service b/app-metrics/redis_exporter/files/redis_exporter.service new file mode 100644 index 000000000000..4dbb09d7b641 --- /dev/null +++ b/app-metrics/redis_exporter/files/redis_exporter.service @@ -0,0 +1,16 @@ +[Unit] +Description=Prometheus Exporter for Redis Metrics +Documentation=https://github.com/oliver006/redis_exporter/ +After=network-online.target + +[Service] +User=redis_exporter +Restart=on-failure +Environment=REDIS_EXPORTER_ARGS="--web.listen-address=:9121 --redis.addr=localhost:6379" +ExecStart=/usr/bin/redis_exporter $REDIS_EXPORTER_ARGS +ExecReload=/bin/kill -HUP $MAINPID +TimeoutStopSec=20s +SendSIGKILL=no + +[Install] +WantedBy=multi-user.target |