Skip to content

Instantly share code, notes, and snippets.

@LucaDev
Created July 15, 2017 16:55
Show Gist options
  • Save LucaDev/c5204f76fada4282465fe45a3655a5b0 to your computer and use it in GitHub Desktop.
Save LucaDev/c5204f76fada4282465fe45a3655a5b0 to your computer and use it in GitHub Desktop.
[Unit]
Description=Prometheus monitoring system and time series database
After=local-fs.target network-online.target network.target
Wants=local-fs.target network-online.target network.target
[Service]
ExecStart=/opt/prometheus/prometheus
WorkingDirectory=/opt/prometheus
Type=simple
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment