Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Starting applications/scripts while booting ====== ===== Raspberry Pi OS (rc.local) ===== There are many ways to make programs run at boot in Raspian, and for the Otter, we use the ''%%rc.local%%'' method. To configure this has only two steps: - Open ''%%/etc/rc.local%%'', for example by using nano - Add the command that is to be run, right above ''%%exit 0%%''. For DUNE, this will look something like this: sudo ./home/pi/dune-2019.02.1-armv7-32bit-linux-glibc-gcc4x/bin/dune -c otter/basic -p Hardware & exit 0 ===== Ubuntu 20.04 (systemd) ===== Find java version used ''readlink -f $(which java)'' ===== Useful links ===== * [[https://www.raspberrypi.org/documentation/linux/usage/rc-local.md|rc.local on Raspian]] * [[https://linuxconfig.org/how-to-run-script-on-startup-on-ubuntu-20-04-focal-fossa-server-desktop|systemd]] sw_run_startup.txt Last modified: 2022/09/19 11:34by 127.0.0.1