misc: Minor improvements

This commit is contained in:
Carlos Álvaro
2021-11-28 18:40:51 +01:00
parent 568ed091a7
commit 1fae94f6f1
5 changed files with 10 additions and 7 deletions

View File

@@ -217,6 +217,7 @@ function configure_salt_master()
#----------------------------------------------------------------------------------------------------------------------
function configure_salt_api()
{
rm -f /etc/supervisor/conf.d/salt-api.conf
[[ ${SALT_API_SERVICE_ENABLED} == true ]] || return 0
if [[ -n "${SALT_API_USER}" ]]; then