Skip to content

Commit

Permalink
Ajuste no arquivo de configuração do supervisor
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusft81 committed May 23, 2023
1 parent 2422eb8 commit 1201934
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ Será feito uso do [supervisor](http://supervisord.org/) para garantir que o có
```bash
cd ~/daf-pi
sudo apt-get install supervisor
sudo cp res/supervisord.conf /etc/supervisor/
sudo supervisord -c /etc/supervisor/supervisord.conf
sudo cp res/daf.conf /etc/supervisor/conf.d/
sudo supervisord -c /etc/supervisor/conf.d/daf.conf
sudo shutdown -r now
```
:clap: Pronto! Você tem agora uma Raspberry Pi Zero W pronta para atuar como DAF.
Expand Down
5 changes: 5 additions & 0 deletions res/daf.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[program:daf_proccess]
command=/home/pi/daf-pi/venv/bin/python3 /home/pi/daf-pi/app.py
directory=/home/pi/daf-pi
stdout_logfile=/home/pi/daf-log.txt
redirect_stderr=true
16 changes: 0 additions & 16 deletions res/supervisord.conf

This file was deleted.

0 comments on commit 1201934

Please sign in to comment.