[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