mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-23 02:01:10 +01:00
15 lines
No EOL
401 B
Desktop File
15 lines
No EOL
401 B
Desktop File
[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 |