fix linter errors
This commit is contained in:
@@ -9,12 +9,12 @@ User=prometheus
|
||||
Group=prometheus
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/prometheus \
|
||||
--config.file {{ config_dir }}/prometheus.yml \
|
||||
--storage.tsdb.path {{ db_dir }} \
|
||||
--config.file {{ prometheus_config_dir }}/prometheus.yml \
|
||||
--storage.tsdb.path {{ prometheus_db_dir }} \
|
||||
--storage.tsdb.retention.time=30d
|
||||
|
||||
# Security hardening
|
||||
ReadWritePaths={{ db_dir }}
|
||||
ReadWritePaths={{ prometheus_db_dir }}
|
||||
ProtectSystem=strict
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
|
||||
Reference in New Issue
Block a user