File prometheus-elasticsearch_exporter.service of Package golang-github-justwatchcom-elasticsearch_exporter
[Unit]
Description=Prometheus elasticsearch_exporter
Documentation=https://github.com/justwatchcom/elasticsearch_exporter
After=local-fs.target network-online.target network.target
Wants=local-fs.target network-online.target network.target
[Service]
Restart=always
User=prometheus
Nice=10
EnvironmentFile=-/etc/sysconfig/prometheus-elasticsearch_exporter
ExecStart=/usr/bin/elasticsearch_exporter $ARGS
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=20s
SendSIGKILL=no
[Install]
WantedBy=multi-user.target