diff --git a/README.md b/README.md index ff74428..f6e298e 100644 --- a/README.md +++ b/README.md @@ -68,3 +68,9 @@ Don't forget to init git submodules git submodule init git sumodule update ``` + +## Deploy / usefull commands + +```bash +for i in {1..6}; do rsync -av ~/hugvey/ pi@hugvey$i.local:/home/pi/hugvey/ --exclude=www --exclude=venv --exclude=local --exclude=*.pyc --exclude=.git; done +``` diff --git a/supervisor.conf b/supervisor.conf index ae52bf4..b686717 100644 --- a/supervisor.conf +++ b/supervisor.conf @@ -1,8 +1,6 @@ [program:hugvey_client] command=python3 hugvey_client.py -c client_config.yml -v directory=/home/pi/hugvey -logfile=/home/pi/logs/hugvey_client.log -logfile_backups=2 startsecs=10 user=pi autorestart=true