mirror of
https://github.com/KevinMidboe/playbooks-retailor.git
synced 2026-01-07 09:55:44 +00:00
all prometheus exporter folders get same name prefix
This commit is contained in:
13
roles/exporter-redis/templates/redis_exporter.service.j2
Normal file
13
roles/exporter-redis/templates/redis_exporter.service.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=redis_exporter
|
||||
Documentation=https://github.com/oliver006/redis_exporter
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/redis_exporter
|
||||
Restart=always
|
||||
LimitNOFILE=4096
|
||||
User=forge
|
||||
Environment="REDIS_PASSWORD_FILE=/home/forge/.env-redis_exporter"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user