update variables

This commit is contained in:
Sergey Malyuk
2025-12-08 16:48:41 +03:00
parent 756b590437
commit ff20681434

View File

@@ -8,12 +8,12 @@ User={{ alertmanager_user }}
Group={{ alertmanager_group }} Group={{ alertmanager_group }}
Type=simple Type=simple
ExecStart=/usr/local/bin/alertmanager \ ExecStart=/usr/local/bin/alertmanager \
--config.file={{ config_dir }}/alertmanager.yml \ --config.file={{ alertmanager_config_dir }}/alertmanager.yml \
--storage.path={{ storage_dir }} --storage.path={{ alertmanager_storage_dir }}
Restart=on-failure Restart=on-failure
# Security hardening # Security hardening
ReadWritePaths={{ storage_dir }} ReadWritePaths={{ alertmanager_storage_dir }}
ProtectSystem=strict ProtectSystem=strict
NoNewPrivileges=true NoNewPrivileges=true
PrivateTmp=true PrivateTmp=true