Skip to content

Commit

Permalink
chore: Update run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zblocker64 authored Jan 29, 2025
1 parent 590e518 commit 16a9e5f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions charts/akash-provider/scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,4 @@ type bc || exit 1
/scripts/refresh_provider_cert.sh

# Start provider-services and monitor its output
exec provider-services run | while read line; do
echo "$line"
if [[ "$line" == *"account sequence mismatch"* ]]; then
echo "Pattern 'account sequence mismatch' found. Restarting provider-services..."
exit 2
fi
done
exec provider-services run

0 comments on commit 16a9e5f

Please sign in to comment.