2019-10-24 20:31:49 +02:00
|
|
|
[Unit]
|
2020-06-10 00:56:43 +02:00
|
|
|
Description=ejabberd influxdb exporter
|
2019-10-24 20:31:49 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=nobody
|
2019-12-07 14:48:25 +01:00
|
|
|
Group=nogroup
|
2020-06-10 07:28:10 +02:00
|
|
|
Environment="PATH=/opt/ejabberd-tools/venv/bin:/usr/local/bin:/usr/bin:/bin"
|
|
|
|
ExecStart=/opt/ejabberd-tools/influx.py
|
|
|
|
WorkingDirectory=/opt/ejabberd-tools/
|
2019-10-24 20:31:49 +02:00
|
|
|
Restart=always
|
|
|
|
RestartSec=5s
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|