mirror of https://gitlab.com/tildes/tildes.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
347 B
15 lines
347 B
[Unit]
|
|
Description=Prometheus Redis Exporter
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
RemainAfterExit=no
|
|
WorkingDirectory=/opt/prometheus_redis_exporter
|
|
User=prometheus
|
|
Group=prometheus
|
|
Environment="REDIS_ADDR=unix:///run/redis/socket"
|
|
ExecStart=/opt/prometheus_redis_exporter/redis_exporter
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|