Skip to content

Instantly share code, notes, and snippets.

@VoidMonk
Last active May 17, 2019 03:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VoidMonk/8c367e170a6b91077bfa1a5dd0a7e623 to your computer and use it in GitHub Desktop.
Save VoidMonk/8c367e170a6b91077bfa1a5dd0a7e623 to your computer and use it in GitHub Desktop.
Systemd service file node_exporter
[Unit]
Description=Node Exporter
Wants=network-online.target
After=network-online.target
[Service]
User=node_exporter
Group=node_exporter
Type=simple
ExecStart=/usr/local/bin/node_exporter
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment