ejabberd-tools/contrib/init/linux-systemd/ejabberd-exporter.service

15 lines
248 B
SYSTEMD
Raw Normal View History

2019-10-17 07:26:26 +02:00
[Unit]
Description=ejabberd prometheus exporter
[Service]
Type=simple
User=nobody
User=group
ExecStart=/opt/ejabberd-metrics/prometheus.py
Restart=always
RestartSec=5s
Environment=PATH=/usr/bin:/usr/local/bin
[Install]
WantedBy=multi-user.target