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

16 lines
317 B
SYSTEMD
Raw Normal View History

[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