일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- YMODEM
- 홈어시스턴트
- homeassistant
- 안드로이드
- raspberry
- 라즈베리파이
- 디자인패턴
- 전기차
- IOT Core
- 파이썬
- 펌웨어
- 전기차충전
- OCPP
- STM32
- esp8266
- 보안
- Android
- 서버리스
- 전기차충전기
- 완속충전기
- AWS
- dynamodb
- flask
- lambda
- 에버온
- 플라스크
- everon
- 충전기
- thread
- 급속충전기
Archives
- Today
- Total
Louie NRT Story
[Raspberry Pi] Supervisor 본문
반응형
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/
반응형
'에너지' 카테고리의 다른 글
[Raspberry Pi] php web server (0) | 2019.11.04 |
---|---|
[Raspberry Pi] Subprocess(Run new process) (0) | 2019.10.28 |
[Raspberry Pi] Watchdog (0) | 2019.10.28 |
[Raspberry Pi] Change booting image and remove log (0) | 2019.10.23 |
[Raspberry Pi] Initialization on Raspberry Pi (0) | 2019.10.23 |
Comments