improvements in logging

This commit is contained in:
bernis
2017-03-30 16:49:18 +02:00
parent df94dc792b
commit 370ad2a12e
4 changed files with 12 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
while true; do
su - pi -c 'cd /home/pi/baroness && FRAMEBUFFER=/dev/fb1 startx ./run.py'
su - pi -c 'cd /home/pi/baroness && FRAMEBUFFER=/dev/fb1 startx ./run.py > baroness.out'
now=$(date)
echo "Current time : $now" >> restart.log
killall pigpiod