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