fix systemd prometheus service
This commit is contained in:
parent
e3d69af688
commit
02a9c3cbac
|
@ -4,7 +4,7 @@ Description=ejabberd prometheus exporter
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=nobody
|
User=nobody
|
||||||
User=group
|
Group=nobody
|
||||||
ExecStart=/opt/ejabberd-metrics/prometheus.py
|
ExecStart=/opt/ejabberd-metrics/prometheus.py
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5s
|
RestartSec=5s
|
||||||
|
|
Loading…
Reference in New Issue