15 lines
248 B
SYSTEMD
15 lines
248 B
SYSTEMD
|
[Unit]
|
||
|
Description=ejabberd prometheus exporter
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=nobody
|
||
|
User=group
|
||
|
ExecStart=/opt/ejabberd-metrics/prometheus.py
|
||
|
Restart=always
|
||
|
RestartSec=5s
|
||
|
Environment=PATH=/usr/bin:/usr/local/bin
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|