I always felt like there should be a better way to autostart spring boot apps on server boot. Wrapping as linux service, editing rc.local, etc – feels like unnecessarily tedious and painful.
Here’s my new favorite:
crontab -e
add:
@reboot /path/to/my/app/run.sh
Works like a charm.
