Paradox2102 / AI-Camera

0 stars 0 forks source link

Document startup and log #1

Open bovlb opened 3 years ago

bovlb commented 3 years ago

Add the following line to the end of /etc/rc.local (before the exit 0) on the Raspberry Pi to have the service start up automatically: sudo -u pi python3 /home/pi/Desktop/Deploy/src/main.py > /home/pi/Desktop/camera.log &

To examine the log, open a terminal and type: tail -f /home/pi/Desktop/camera.log

bovlb commented 1 year ago

Just adding a note here as this is a trick we continue to use: https://serverfault.com/a/950811

nice -n18 ionice -c3 /path/to/mydaemon