Closed mister-name closed 4 months ago
Didn't we already have a script on that Pi, or did it get lost in the course of various moves over the time ? Or we started it in rc.local
, I don't remember :)
Must be an old Pi that it still has a System-V init (good ol' days before systemd). Anyway, in general looks good. One script is better than no script :)
Thanks, merging now, if there are refinements, there are always future PRs :)
Didn't we already have a script on that Pi, or did it get lost in the course of various moves over the time ? Or we started it in
rc.local
, I don't remember :)Must be an old Pi that it still has a System-V init (good ol' days before systemd). Anyway, in general looks good. One script is better than no script :)
I did not find anything, but will check again next time I'm in the space. I'll switch it to systemd if/when possible. init.d is an old-school habit of mine, I guess :/
Summary
On the discord f-t channel there was interest in making the rpi start ft-server on boot. This does that.
There will be a similar pull for Carl's ft-demos
Adds the following files-
Tests
Manually tested via cli and then rebooting, and it works on Noisebridge's f-t rpi.
Outstanding issues
There currently seems to be a flaw in that stopping the server isn't working. I haven't spent much time on that problem, seems to be a problem with how
start-stop-daemon
deals with $DAEMON. Like, maybe that should be a single filename, rather than a whole pathname. Will return to it in the coming weeks.