ejabberd-tools/contrib/init/linux-systemd/ejabberd-influxdb.service

15 lines
245 B
SYSTEMD
Raw Normal View History

[Unit]
Description=ejabberd influxdb exporter
[Service]
Type=simple
User=nobody
Group=nogroup
ExecStart=/opt/ejabberd-metrics/influx.py
Restart=always
RestartSec=5s
Environment=PATH=/usr/bin:/usr/local/bin
[Install]
WantedBy=multi-user.target