ajout d'un service systemd pour prometheus

This commit is contained in:
vincent 2018-04-17 17:17:30 +02:00
parent 67cdfa79c8
commit b589212512
1 changed files with 12 additions and 0 deletions

View 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/local/bin/prometheus/prometheus --config.file=/etc/prometheus/prometheus.yml
[Install]
WantedBy=multi-user.target