From b14dabc72189a5b85f5b43c3d3dec8bfc7d93930 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 4 Dec 2018 01:15:03 -0700 Subject: [PATCH] Fix supervisor issue and README spelling --- doorcontrol/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doorcontrol/README.md b/doorcontrol/README.md index 3cd7704..f29bfe0 100644 --- a/doorcontrol/README.md +++ b/doorcontrol/README.md @@ -38,7 +38,7 @@ Create a file named /etc/supervisor/conf.d/pushcards.conf and add: [program:pushcards] user=pi directory=/home/pi/pslockout/doorcontrol -command=source env/bin/activate && python pushcards.py +command=/bin/bash -c 'source env/bin/activate && python pushcards.py' autostart=true autorestart=true stderr_logfile=/var/log/pushcards.log @@ -57,7 +57,7 @@ $ cp settings.json.example settings.json $ vim settings.json ``` -You can find your auth token by requsting with `curl`: +You can find your auth token by requesting it with `curl`: ``` $ curl -d username=tanner.collin -d password=supersecret http://tools-auth.protospace.ca/login/ @@ -69,7 +69,7 @@ $ curl -d username=tanner.collin -d password=supersecret http://tools-auth.proto ### Launch -Reload supervisor and start pushcards: +Reload supervisor to start pushcards: ``` $ sudo supervisorctl reread