Restart pythonserver on deploy