I'm a novice shell scripter . . . As it stands right now, the scripts are executed via sudo, so the playlist, asset and _settings.json files end up being write protected when created. I haven't done any extensive testing, but I wonder if this would cause issues.
Should I not be making the scripts executable with sudo
and then executing them with sudo
? I'll test again later, but I recall that things didn't execute properly when I didn't run with sudo
.
I welcome any other suggestions and improvements as well.
Thanks in advance!
Update: As I imagined...this does cause some issues. PiSignage can't write to the piSignagePro/config/_settings.json
file. Any changes you make in the WebUI won't remain intact after a reboot.