Fix supervisor issue and README spelling
This commit is contained in:
parent
a619c3fe39
commit
b14dabc721
|
@ -38,7 +38,7 @@ Create a file named /etc/supervisor/conf.d/pushcards.conf and add:
|
||||||
[program:pushcards]
|
[program:pushcards]
|
||||||
user=pi
|
user=pi
|
||||||
directory=/home/pi/pslockout/doorcontrol
|
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
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stderr_logfile=/var/log/pushcards.log
|
stderr_logfile=/var/log/pushcards.log
|
||||||
|
@ -57,7 +57,7 @@ $ cp settings.json.example settings.json
|
||||||
$ vim 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/
|
$ 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
|
### Launch
|
||||||
|
|
||||||
Reload supervisor and start pushcards:
|
Reload supervisor to start pushcards:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo supervisorctl reread
|
$ sudo supervisorctl reread
|
||||||
|
|
Loading…
Reference in New Issue
Block a user