diff --git a/README.md b/README.md index ed90208..ff74428 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,10 @@ cd www gulp ``` +To run a command on all hugveys: +``` +fab -H rubenvandeven.com,saclab@projects.rubenvandeven.com -- uname +``` ## Installation diff --git a/supervisor.conf b/supervisor.conf new file mode 100644 index 0000000..ae52bf4 --- /dev/null +++ b/supervisor.conf @@ -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