mirror of
https://github.com/pelican-eggs/minecraft.git
synced 2024-11-22 10:52:34 +01:00
Cleaned up startup
This commit is contained in:
parent
ee4c054d27
commit
b42ff750d2
@ -20,14 +20,10 @@ fi
|
||||
if [ -f "keys/oldsecret.txt" ]; then
|
||||
echo "Old secret file detected..."
|
||||
export MINIO_SECRET_KEY_OLD=`cat keys/oldsecret.txt`
|
||||
else
|
||||
echo ".."
|
||||
fi
|
||||
if [ -f "keys/oldkey.txt" ]; then
|
||||
echo "Old key file detected..."
|
||||
export MINIO_ACCESS_KEY_OLD=`cat keys/oldkey.txt`
|
||||
else
|
||||
echo "......"
|
||||
fi
|
||||
if [ -f "keys/justrotated.txt" ]; then
|
||||
echo "Previous key rotation detected...."
|
||||
@ -38,8 +34,6 @@ STARTUP_TYPE=normal
|
||||
rm keys/justrotated.txt
|
||||
rm keys/oldsecret.txt
|
||||
rm keys/oldkey.txt
|
||||
else
|
||||
echo "......"
|
||||
fi
|
||||
##########################################
|
||||
if [ -z "$STARTUP_TYPE" ] || [ "$STARTUP_TYPE" == "rotate" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user