aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/init/linux-systemd/ejabberd-exporter.service
blob: 2a1e65c1e5a6842af6805a519ae5f5618960856c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=ejabberd prometheus exporter

[Service]
Type=simple
User=nobody
Group=nobody
ExecStart=/opt/ejabberd-metrics/prometheus.py
Restart=always
RestartSec=5s
Environment=PATH=/usr/bin:/usr/local/bin

[Install]
WantedBy=multi-user.target