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

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

[Install]
WantedBy=multi-user.target