mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-27 04:01:01 +01:00
15 lines
401 B
SYSTEMD
15 lines
401 B
SYSTEMD
|
[Unit]
|
||
|
Description=Blackbox exporter for Prometheus
|
||
|
Documentation=https://prometheus.io/docs/introduction/overview/
|
||
|
|
||
|
[Service]
|
||
|
Restart=always
|
||
|
User=prometheus
|
||
|
EnvironmentFile=/etc/default/prometheus-blackbox-exporter
|
||
|
ExecStart=/usr/local/bin/prometheus-blackbox-exporter $ARGS
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
AmbientCapabilities=CAP_NET_RAW
|
||
|
NoNewPrivileges=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|