Supervisor file for clients
This commit is contained in:
parent
aa1385baed
commit
85552a3294
2 changed files with 12 additions and 0 deletions
|
@ -34,6 +34,10 @@ cd www
|
||||||
gulp
|
gulp
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To run a command on all hugveys:
|
||||||
|
```
|
||||||
|
fab -H rubenvandeven.com,saclab@projects.rubenvandeven.com -- uname
|
||||||
|
```
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
8
supervisor.conf
Normal file
8
supervisor.conf
Normal 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
|
Loading…
Reference in a new issue