Hello,
I am trying to purge data on my devices everyday, it seems to improve the performance a lot
I want to use the following code in a start.sh in one of my services
curl -X POST --header “Content-Type:application/json” “$BALENA_SUPERVISOR_ADDRESS/v2/applications/$BALENA_APP_ID/purge?apikey=$BALENA_SUPERVISOR_API_KEY”
It will go in a endless loop everytime i restart
So i was thinking I could check - if( /data is empty){ dont purge}else{purge}
Where is the user applications data folder mentioned in the supervisor docs