You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
317 B

  1. [Unit]
  2. Description=Prometheus Server
  3. After=syslog.target network.target
  4. [Service]
  5. Type=simple
  6. RemainAfterExit=no
  7. WorkingDirectory=/opt/prometheus
  8. User=prometheus
  9. Group=prometheus
  10. ExecStart=/opt/prometheus/prometheus --config.file=/opt/prometheus/prometheus.yml --log.level info
  11. [Install]
  12. WantedBy=multi-user.target