pageauc / pi-timolo

Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software.
MIT License
548 stars 101 forks source link

Added actual restart #51

Closed PhyNerd closed 7 years ago

PhyNerd commented 7 years ago

Currently if the config is changed and pi-timolo is running there is no real restart. I added a stop command before the start command to make it a real restart. This is necessary, because python creates a .pyc file for the config and even if config.py is changed no changes take place until a actual restart has happened.