Mirror fixes and improvements from Prometheus refactoring #73

This commit is contained in:
Alexander Gorelyshev
2025-12-28 17:51:05 +04:00
parent fffd265ad8
commit cb83e61187
6 changed files with 141 additions and 77 deletions

View File

@@ -4,10 +4,10 @@ After=network.target
Documentation="https://prometheus.io/docs/alerting/latest/alertmanager/"
[Service]
User={{ alertmanager_user }}
Group={{ alertmanager_group }}
User=alertmanager
Group=alertmanager
Type=simple
ExecStart=/usr/local/bin/alertmanager \
ExecStart=/usr/bin/alertmanager \
--config.file={{ alertmanager_config_dir }}/alertmanager.yml \
--storage.path={{ alertmanager_storage_dir }}
Restart=on-failure
@@ -24,4 +24,4 @@ ProtectClock=yes
RestrictSUIDSGID=true
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target