Louie NRT Story

[Raspberry Pi] Supervisor 본문

에너지

[Raspberry Pi] Supervisor

hyeok0724.kim@gmail.com 2019. 10. 28. 18:51
반응형

Writed on 28 OCT 2019
Device: Raspberry Pi 3
Raspbian Version: 2019-09-26-raspbian-buster-full.zip

1. Install supervisor

2. Make configure file of supervisor

 - I did that using root account.

3. Modify the configure file

 - command: Define which command to run

 - directory: Define which directory to run

 - autostart: Define wheather this process will also run when the supervisor deamon starts

 

4. Run supervisor deamon

5. Manage supervisor process using supervisorctl

 - You can check process that is started by supervisor and know process of PID.

 - Help default commands

 - Supervisor of PID

 - If you kill process started by supervisor, supervisor run the process again, Awesome!!!

 

Reference: http://blog.kichul.co.kr/2017/04/10/2017-04-10-supervisor-python/

불러오는 중입니다...
반응형
Comments