Simplify installation handling

This commit is contained in:
Alexander Gorelyshev
2025-12-28 16:24:30 +04:00
parent e6eab72d9b
commit efc2462c15
3 changed files with 15 additions and 24 deletions

View File

@@ -8,7 +8,7 @@ Documentation="https://prometheus.io/"
User=prometheus
Group=prometheus
Type=simple
ExecStart=/usr/local/bin/prometheus \
ExecStart=/usr/bin/prometheus \
--config.file {{ prometheus_config_dir }}/prometheus.yml \
--storage.tsdb.path {{ prometheus_db_dir }} \
--storage.tsdb.retention.time=30d