Last active
January 25, 2021 12:55
-
-
Save bilalatli/759fe1a013700f0d050e6465a52ed92f to your computer and use it in GitHub Desktop.
Prometheus node exporter systemd service file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Prometheus exporter for machine metrics | |
| Documentation=https://github.com/prometheus/node_exporter | |
| [Service] | |
| Restart=always | |
| User=node_exporter | |
| #EnvironmentFile=/etc/default/prometheus-node-exporter | |
| ExecStart=/usr/local/bin/prometheus-node-exporter $ARGS | |
| ExecReload=/bin/kill -HUP $MAINPID | |
| TimeoutStopSec=20s | |
| SendSIGKILL=no | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment