[Unit] Description=Prometheus - Prometheus metrics collector. Documentation=https://prometheus.io/docs/introduction/overview/ After=network.target [Service] Type=simple User={{ prometheus_user }} Group={{ prometheus_user }} EnvironmentFile=/etc/default/prometheus ExecStart=${PROMETHEUS_CMD} --config.file=${PROMETHEUS_CONF} --storage.tsdb.path=${PROMETHEUS_DATADIR} --log.level=${PROMETHEUS_LOGLEVEL} ${PROMETHEUS_OPTS} Restart=on-failure [Install] WantedBy=multi-user.target