Skip to content

Commit

Permalink
Try fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Gurvan Rivoal committed Jan 3, 2025
1 parent d4fa806 commit c0bc2b3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion custom_startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,15 @@ rm -f $folder/SingletonLock
# tail chrome debug : Brave logging
file="$folder/chrome_debug.log"
brave-browser
tail -F $file

while true; do
if [[ -f "$file" ]]; then
tail -F "$file"
else
echo "File $file not found, waiting..."
while [[ ! -f "$file" ]]; do
sleep 1
done
echo "Fichier $file found, resuming monitoring..."
fi
done

0 comments on commit c0bc2b3

Please sign in to comment.