Hardcode prometheus as user and group name

Not much sense or need in using variables here. The systemd unit file
was using hard-coded values anyway.
This commit is contained in:
Alexander Gorelyshev
2025-12-28 15:59:40 +04:00
parent f45f73e6ff
commit 31e6b1f330
3 changed files with 17 additions and 26 deletions

View File

@@ -1,7 +1,5 @@
---
prometheus_version: 3.2.1
prometheus_dir: "/etc/prometheus"
prometheus_user: prometheus
prometheus_group: prometheus
prometheus_config_dir: "/etc/prometheus/conf"
prometheus_db_dir: "/var/lib/prometheus"