eole-prometheus/init/prometheus.service

13 lines
282 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Prometheus Server
Documentation=https://prometheus.io/docs/introduction/overview/
After=network-online.target
[Service]
User=root
Restart=on-failure
2018-05-25 16:00:44 +02:00
ExecStart=/usr/bin/prometheus --config.file=/etc/prometheus/prometheus.yml
[Install]
WantedBy=multi-user.target