Skip to content

Instantly share code, notes, and snippets.

@muhamad-ridwant-tech
Last active February 11, 2026 08:02
Show Gist options
  • Select an option

  • Save muhamad-ridwant-tech/7da360ba569e69b0b188f1e53f06336f to your computer and use it in GitHub Desktop.

Select an option

Save muhamad-ridwant-tech/7da360ba569e69b0b188f1e53f06336f to your computer and use it in GitHub Desktop.
Blackbox-Exporter systemd service file ( /etc/systemd/system/blackbox.service )
[Unit]
Description=Blackbox Exporter
Documentation= Blackbox
Wants=network-online.target
After=network-online.target
[Service]
User=root
Group=root
Type=simple
Restart=on-failure
ExecStart=/usr/local/bin/blackbox_exporter \
--config.file=/etc/blacbkox-exporter/blackbox.yml
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment