Hi, I’m trying to set up a Raspberry Pi to run sonic pi headless for art installation setup. it’s interactive through network - but no terminal/laptop needed.
It works great if I have a terminal connected, but falls apart once all terminals are closed, or if try to run it without an SSH connection to begin with (just on startup)
I’ve been scratching my head at this for a few days now, would really appreciate any help!
Running with nohup:
nohup startup.sh &- starts sonic pi, plays, but stops after closing SSH terminal. Doesn’t play at all if done from
nohup paplay test.wav &- this does work after closing ssh, so it’s not a general audio problem. Also
aplayworks the same.