Update run

This commit is contained in:
Alexandre
2021-05-18 17:36:45 +02:00
committed by GitHub
parent 0588990542
commit f9d68f7d63

View File

@@ -22,7 +22,8 @@ touch "/data/portainer_password"
CURRENTPASSWORD=$( cat /data/portainer_password )
if [ "$CURRENTPASSWORD" != "$PASSWORD" ]; then
rm /data/portainer.dB || true
rm /data/portainer.db || true
rm data/hidden || true
bashio::log.warning "... password changed, database reseted"
fi