diff --git a/INSTALL.md b/INSTALL.md index be23ba6..f2c94f5 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -689,7 +689,7 @@ Note that Makefile format requires a `` char (not spaces) at the start of ' validate: promtool check config prometheus.yml -restart: +restart: validate systemctl restart prometheus ``` @@ -911,7 +911,7 @@ Note that Makefile format requires a `` char (not spaces) at the start of ' validate: amtool check-config alertmanager.yml -restart: +restart: validate systemctl restart alertmanager ``` diff --git a/scripts/install_prom_graf.sh b/scripts/install_prom_graf.sh index 27d3131..2e350a7 100755 --- a/scripts/install_prom_graf.sh +++ b/scripts/install_prom_graf.sh @@ -208,7 +208,7 @@ EOF validate: \\tamtool check-config alertmanager.yml -restart: +restart: validate \\tsystemctl restart alertmanager " > /etc/alertmanager/Makefile @@ -423,7 +423,7 @@ EOF validate: \\tpromtool check config prometheus.yml -restart: +restart: validate \\tsystemctl restart prometheus " > /etc/prometheus/Makefile