Rewrite restart cronjob using inotify (#146)
Rewrite restart cronjob using inotify (#146)

* Move restart cronjob to inotify

* Make log root configurable

* Move supervisor scripts to own files

* Only run apt-get update once

* Move sync cronjob to scripts directory

* Add logging to sync cronjob

* Avoid generating sync script multiple times

* Simplify venv location

* Disable pip cache

* Make log directory argument name consistent

* Ensure sync log location is properly escaped

OPWEN/opwen-webapp,OPWEN/opwen-webapp,OPWEN/opwen-webapp,ascoderu/opwen-cloudserver,ascoderu/opwen-webapp,ascoderu/opwen-webapp,ascoderu/opwen-webapp,ascoderu/opwen-cloudserver