I am interested in using the auto stop/start feature with my node app, but at the moment my app never recovers from autostop. I assume that the startup scripts could be used to gracefully autostart? And that by tinkering with the runtime options the app could gracefully autostop?
Still, are there any guides or advice about how to implement the graceful autostop? I have scripts for both starting and stopping the app, but I am wondering how exactly to trigger the stop.
For auto start did you just create a directory .fly/scripts and add a bash script? (fly launch did not create that directory or the Docker entrypoint, so I’m guessing that doc is somewhat outdated.)