일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- lambda
- 급속충전기
- 플라스크
- 라즈베리파이
- thread
- 서버리스
- 디자인패턴
- STM32
- OCPP
- 안드로이드
- 펌웨어
- flask
- 파이썬
- 전기차
- AWS
- 전기차충전
- dynamodb
- 에버온
- IOT Core
- 충전기
- 완속충전기
- 보안
- esp8266
- 홈어시스턴트
- raspberry
- Android
- YMODEM
- 전기차충전기
- everon
- homeassistant
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