Advertisement
Guest User

Untitled

a guest
Dec 16th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. [Unit]
  2. Description=Prometheus
  3. Wants=network-online.target
  4. After=network-online.target
  5.  
  6. [Service]
  7. User=prometheus
  8. Group=prometheus
  9. Type=simple
  10. ExecStart=/usr/local/bin/prometheus \
  11. --config.file /etc/prometheus/prometheus.yml \
  12. --storage.tsdb.path /var/lib/prometheus/ \
  13. --web.console.templates=/etc/prometheus/consoles \
  14. --web.console.libraries=/etc/prometheus/console_libraries
  15.  
  16. [Install]
  17. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement