Skip to content

Instantly share code, notes, and snippets.

@gshiva
Forked from ipl31/node_exporter.service
Created June 6, 2020 15:21
Show Gist options
  • Select an option

  • Save gshiva/9c476796c8da54afe9fb231e984f49a0 to your computer and use it in GitHub Desktop.

Select an option

Save gshiva/9c476796c8da54afe9fb231e984f49a0 to your computer and use it in GitHub Desktop.
Raspberry Pi Node Exporter Unit File
[Unit]
Description=Node Exporter
[Service]
# Provide a text file location for https://github.com/fahlke/raspberrypi_exporter data with the
# --collector.textfile.directory parameter.
ExecStart=/usr/local/bin/node_exporter --collector.textfile.directory /var/lib/node_exporter/textfile_collector
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment