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

[Service]
User=prometheus
Group=prometheus
Type=simple
ExecStart=/opt/prometheus/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus --web.console.templates=/opt/prometheus/consoles --web.console.libraries=/opt/prometheus/console_libraries --web.external-url=https://prometheus.lysergic.dev:4433
ExecReload=/usr/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target