1 2 3 4 5 6 7 8 9 10 11
[Unit] Description=Prometheus blackbox Exporter After=network.target [Service] User=prometheus ExecStart=/usr/bin/prometheus_blackbox_exporter --config.file="/etc/prometheus/blackbox.yml" ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target