Management stuff
This commit is contained in:
parent
880503777e
commit
fcf67196c1
2 changed files with 6 additions and 2 deletions
|
@ -68,3 +68,9 @@ Don't forget to init git submodules
|
||||||
git submodule init
|
git submodule init
|
||||||
git sumodule update
|
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
|
||||||
|
```
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
[program:hugvey_client]
|
[program:hugvey_client]
|
||||||
command=python3 hugvey_client.py -c client_config.yml -v
|
command=python3 hugvey_client.py -c client_config.yml -v
|
||||||
directory=/home/pi/hugvey
|
directory=/home/pi/hugvey
|
||||||
logfile=/home/pi/logs/hugvey_client.log
|
|
||||||
logfile_backups=2
|
|
||||||
startsecs=10
|
startsecs=10
|
||||||
user=pi
|
user=pi
|
||||||
autorestart=true
|
autorestart=true
|
||||||
|
|
Loading…
Reference in a new issue