monitoring/Prometheus/prometheus.service

14 lines
469 B
SYSTEMD
Raw Normal View History

[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