renommage pour les services systemd
This commit is contained in:
12
init/prometheus.service
Normal file
12
init/prometheus.service
Normal file
@ -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/bin/prometheus --config.file=/etc/prometheus/prometheus.yml
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user