blob: 6217c6186bea56b00a6d210253ba732c574d1f4d (
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.local.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
|