Restart device and update existing python file in RPi

Could you post a deployment log here?