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.

16 lines
519 B

[Unit]
Description=The Prometheus monitoring system and time series database
Wants=network.target
After=network-online.target
[Service]
Restart=always
Type=simple
EnvironmentFile=/opt/prometheus/etc/prometheus.env
ExecStart=/opt/prometheus/bin/prometheus --storage.tsdb.path=${TSDB_PATH} --config.file=${CONFIG_FILE} --web.listen-address=${LISTEN_ADDRESS} --log.level=${LOG_LEVEL} $PROMETHEUS_OPTIONS
WorkingDirectory=/srv/prometheus
User=prometheus
Group=itix-svc
[Install]
WantedBy=multi-user.target default.target