Skip to content

Commit ca86098

Browse files
committed
Fix set-password error
1 parent 3d9f9a3 commit ca86098

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎build/rocketpool-start.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ if [ -f "/rocketpool/data/wallet" ]; then
191191
fi
192192
if [ ! -f /rocketpool/data/password ]; then
193193
echo "${INFO} set-password"
194+
# Create the folders /.rocketpool/data if they don't exist
195+
mkdir -p /.rocketpool/data
196+
echo "${WALLET_PASSWORD}" > /.rocketpool/data/password
194197
/usr/local/bin/rocketpoold --settings /app/rocketpool/user-settings.yml api wallet set-password "${WALLET_PASSWORD}"
195198
fi
196199
echo "${INFO} Initializing Rocketpool service"

0 commit comments

Comments
 (0)