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

[Service]
Type=simple
User=nobody
Group=nogroup
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