Last active
January 26, 2018 08:07
-
-
Save JonathanPorta/639dfaee929833b41d34f70e947b7dcf to your computer and use it in GitHub Desktop.
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=Ensure that the prometheus process is running | |
After=network-online.target | |
[Service] | |
User=prometheus | |
Group=prometheus | |
Restart=always | |
WorkingDirectory=/opt/prometheus | |
ExecStart=/opt/prometheus/prometheus --config.file=prometheus.yml | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment