This commit is contained in:
hogweed1 2025-04-15 02:20:32 +10:00
parent a420869a32
commit 2e58471e19
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ EnvironmentFile=-/etc/sysconfig/alertmanager
ExecStart=/usr/sbin/alertmanager \ ExecStart=/usr/sbin/alertmanager \
--config.file=/etc/alertmanager/alertmanager.yaml \ --config.file=/etc/alertmanager/alertmanager.yaml \
--storage.path=/base/alertmanager \ --storage.path=/base/alertmanager \
--web.config.file=/etc/prometheus/web-config.yaml --web.config.file=/etc/alertmanager/web-config.yaml
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
KillMode=process KillMode=process

View File

@ -85,7 +85,7 @@
register: web_config_file register: web_config_file
copy: copy:
src: ../../files/prometheus/web-config.yaml src: ../../files/prometheus/web-config.yaml
dest: /etc/prometheus/web-config.yaml dest: /etc/alertmanager/web-config.yaml
notify: notify:
- reload alertmanager - reload alertmanager