summarylogtreecommitdiffstats
path: root/prometheus.service
blob: 386d8d9177bc48bd7ded2faad082549356448cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Prometheus service
After=network.target

[Service]
User=prometheus
Group=prometheus
ExecStart=/usr/bin/prometheus -storage.local.path=/var/lib/prometheus -config.file=/etc/prometheus.yml
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target