slartibartfast wrote: > I have just noticed that your mmserver script is not the same as in > frankd's original post. He replaced the line > > su - $USER -c $MUSICHOME"MusicMagicServer start & > /dev/null" > > with > > sudo -u pi /home/pi/MusicIP/MusicMagicMixer/MusicMagicServer start & > > /dev/null 2>&1 > > Any idea what difference that makes? > > Sent from my SM-G900F using Tapatalk Hello, I kept the original script but Markd changed it. It doesn't make any real difference at run. The sudo command allows more flexibility than su, it's possible to disable the asking of the password when it's run in a terminal, as su asks for the password of the pi user. It's a little bit better, but you have to set this behaviour in a file called sudoers first.
LMS 7.9.0 on Linux Mageia 5 and RPI 3 1 SB3, 2 radio, 1 touch Plugins : Trackstat, Smartmix, MusicIP, ... ------------------------------------------------------------------------ Antoniop's Profile: http://forums.slimdevices.com/member.php?userid=39292 View this thread: http://forums.slimdevices.com/showthread.php?t=106958 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
