1 個回答
- 最新
- 最多得票
- 最多評論
0
I think you will need to have your application running in a daemon mode.. Then you will need to place a K Script in the RC3.d folder so that when the instance recieves a SIGHUP, it can stop the application
OR/AND
I would have S script in RC3.d to start your application too on boot up which executes your 'nohup python3 /app.py > /dev/null 2>&1 &'
相關內容
- 已提問 7 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前