From fcf67196c1da19b7b9b4e23036963861616747f0 Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Thu, 28 Mar 2019 16:26:17 +0100 Subject: [PATCH] Management stuff --- README.md | 6 ++++++ supervisor.conf | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) 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