Created
October 17, 2019 06:50
-
-
Save bejean/c0d25a0e66ec004d019607308de2e4f8 to your computer and use it in GitHub Desktop.
Prometheus node-exporter.service
This file contains 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 Node Exporter | |
After=network-online.target | |
[Service] | |
User=prometheus | |
Restart=on-failure | |
#Change this line if you download the | |
#Prometheus on different path user | |
ExecStart=/opt/prometheus/node_exporter/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