-
-
Save anonymous/26ab732ff3970ad095c8aef79b2cec75 to your computer and use it in GitHub Desktop.
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 Monitoring framework | |
Wants=basic.target | |
After=basic.target network.target | |
[Service] | |
User=prometheus | |
Group=prometheus | |
ExecStart=/opt/prometheus/server/prometheus \ | |
-config.file /opt/prometheus/etc/prometheus.yml \ | |
-storage.local.path=/opt/prometheus/data \ | |
-storage.local.memory-chunks=350000 \ | |
> /var/log/prometheus/server.log 2>&1 | |
ExecReload=/bin/kill -HUP $MAINPID | |
KillMode=process | |
Restart=always | |
RestartSec=42s | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment