reverse proxy: rebuild configs on provider change

This commit is contained in:
Girish Ramakrishnan
2022-11-16 12:02:11 +01:00
parent 19b0d47988
commit e3642f4278
4 changed files with 33 additions and 1 deletions

View File

@@ -34,6 +34,8 @@ elif [[ "${service}" == "docker" ]]; then
systemctl restart --no-block docker
elif [[ "${service}" == "collectd" ]]; then
systemctl restart --no-block collectd
elif [[ "${service}" == "box" ]]; then
systemctl reload --no-block box
else
echo "Unknown service ${service}"
exit 1