fix(salt-api): Change supervisor priority

Set lower priority for the salt-api service to ensure it starts after the salt-master process.
This commit is contained in:
Carlos Álvaro
2021-10-31 11:31:33 +01:00
parent 350684ed9b
commit 9a1d66b24d

View File

@@ -229,7 +229,7 @@ EOF
# configure supervisord to start salt-api
cat > /etc/supervisor/conf.d/salt-api.conf <<EOF
[program:salt-api]
priority=5
priority=10
directory=${SALT_HOME}
environment=HOME=${SALT_HOME}
command=/usr/local/bin/salt-api