/etc/rc.local to autostart two services.
sh /home/ubuntu/osrm.sh || /bin/true sh /home/ubuntu/photon.sh || /bin/true
|| /bin/true is used to ensure that it always succeeds even if the shell script fails.
My problem is that, only the first command executes. It also has to be noted that both scripts run services that keep running (i.e. webservices)