systemd prometheus service
This commit is contained in:
parent
9877bdf22b
commit
e3d69af688
|
@ -0,0 +1,14 @@
|
|||
[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
|
Loading…
Reference in New Issue