Noob alert ahead.
I am developing an application that will run on a headless Raspberry Pi2 (no monitor, no mouse, no keyboard). To get a good bootup time I want to use Arch linux instead of the standard Raspbian distro.
I'd like to know what is the proper way to automatically start my application on bootup (I will only need ALSA to run, no network, no internet, no video)?
Second question: is it harmful for Arch Linux when I shut down by cutting the power (i.e. will it corrupt the system)? I won't have a screen/keyboard so shutting down properly will be difficult...
Thanks!