Skip to content

Instantly share code, notes, and snippets.

@bvolpato
Created March 12, 2019 06:42
Show Gist options
  • Save bvolpato/ccf7f5e53e0fbe4684c94cb1f4d2add3 to your computer and use it in GitHub Desktop.
Save bvolpato/ccf7f5e53e0fbe4684c94cb1f4d2add3 to your computer and use it in GitHub Desktop.
node_exporter.service
[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