Supervisor file for clients

This commit is contained in:
Ruben van de Ven 2019-03-07 21:10:49 +01:00
parent aa1385baed
commit 85552a3294
2 changed files with 12 additions and 0 deletions

View File

@ -34,6 +34,10 @@ cd www
gulp
```
To run a command on all hugveys:
```
fab -H rubenvandeven.com,saclab@projects.rubenvandeven.com -- uname
```
## Installation

8
supervisor.conf Normal file
View File

@ -0,0 +1,8 @@
[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