summarylogtreecommitdiffstats
path: root/prometheus.service
blob: 37941f2725645e9d78f8371da45eed87461ce5dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Prometheus service monitoring system and time series database
After=network.target

[Service]
User=prometheus
Group=prometheus
ExecStart=/usr/bin/prometheus \
    --config.file "/etc/prometheus/prometheus.yml" \
    --storage.tsdb.path "/var/lib/prometheus" \
    --web.console.libraries "/etc/prometheus/console_libraries" \
    --web.console.templates "/etc/prometheus/consoles"
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target