1 Answer
- Newest
- Most votes
- Most comments
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 &'
Relevant content
- asked 5 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 4 months ago