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 &'
相关内容
- AWS 官方已更新 9 个月前
- AWS 官方已更新 2 年前