aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/init/linux-systemd/ejabberd-exporter.service
blob: 518fc1dd18d70a3dbe4d9b4dc0006aca601d0f9f (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
User=group
ExecStart=/opt/ejabberd-metrics/prometheus.py
Restart=always
RestartSec=5s
Environment=PATH=/usr/bin:/usr/local/bin

[Install]
WantedBy=multi-user.target