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

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

[Install]
WantedBy=multi-user.target