i have a long running start-script that goes into timeout, how should this be resolved?
Hello,
You are probably hitting a systemd service start timeout on the startup-script, it’s not really suitable for really long running processes. This would explain why script works nicely when ran after startup but not as a startup-script.
Here is the link to setting up the startup-script: https://docs.datacrunch.io/cpu-and-gpu-instances/set-up-a-gpu-instance#load-a-startup-script-optional
I’d create and enable a simple (or one-shot) systemd-service on the startup-script phase, which then executes the actual script on it’s own separate service - with a separately defined timeout which you can control.