Basically, I have an image with a flask server.
When I create a new droplet from it, the flask server doesn’t run. It needs to be manually run.
How can I make the bash script to run
python server.py as soon as the droplet is ready instead of me having to manually ssh in or run fabric?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!