Skip to content

Instantly share code, notes, and snippets.

@ww898
Last active March 4, 2020 11:46
Show Gist options
  • Save ww898/b81884af8d985c9d48d11db598b356be to your computer and use it in GitHub Desktop.
Save ww898/b81884af8d985c9d48d11db598b356be to your computer and use it in GitHub Desktop.
#/lib/systemd/system/raspberrypi_exporter.service
[Unit]
Description=Prometheus exporter for Raspberry Pi metrics
Wants=raspberrypi_exporter.timer
[Service]
Type=oneshot
User=monituser
Group=monituser
ExecStart=/opt/raspberrypi_exporter/raspberrypi_exporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment