ajout d'un service systemd pour prometheus
This commit is contained in:
parent
67cdfa79c8
commit
b589212512
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Prometheus Server
|
||||||
|
Documentation=https://prometheus.io/docs/introduction/overview/
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=root
|
||||||
|
Restart=on-failure
|
||||||
|
ExecStart=/usr/local/bin/prometheus/prometheus --config.file=/etc/prometheus/prometheus.yml
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue