Using crontab to run st-launcher on startup

1. Create a simple script run-on-reboot.sh and copy it to the location of the server /home/myuser/stserver:

#!/bin/bash

./st-launcher.run

2. Make it executable:

sudo chmod +x run-on-reboot.sh

3. setup crontab

sudo crontab -e

Make script run on startup by adding the following line

@reboot sleep 30 && cd /home/myuser/stserver && ./run-on-reboot.sh