darwinesque wrote: > Huge thanks for your help, @RobbH. LMS did appear to get upset when the > NAS mount was lost, because our trio of Squeezeboxes automatically > brought up the menu screen sometime during the night. The 6:15am alarms > we'd set up didn't work, but the 6:50am alarm did, so it looks like it > took LMS a while to recognize that the mount had been re-established in > the morning. > > I'm about to put in a query over on the DietPi forums on how to set up a > cron job to stop/start LMS just before/after the NAS. Once that's taken > care of, I think it should be working well enough. > > And thanks for the PiCore recommendation, @Markiii. It does look a > little more GUI-friendly, but I'm not in a position to set up a > dedicated Pi right now, so LMS is going to have share a Pi with some of > the other installs I'm running. Plus this way I get a little better > acquainted with the Terminal.
I use Raspberry PI OS Bullseye Desktop 64bit for my LMS Diet-pi uses (i think) Debian so the access to crontab -e should be the same here is a link explaining the process (there a lot on the web :)) 'https://smarthomepursuits.com/how-to-reboot-raspberry-pi-on-a-schedule/ ' (https://smarthomepursuits.com/how-to-reboot-raspberry-pi-on-a-schedule/) so if you add Code: -------------------- 55 23 * * * /etc/init.d/logitechmediaserver stop 05 6 * * * /etc/init.d/logitechmediaserver restart -------------------- That should be enough. There may be better syntax like using systemctl but hey ho ! I have just tested it and it works 37697 after setting the crontab, save, exit and reboot :) You may need to find out how long it takes the NAS to start up Hope this helps ronnie +-------------------------------------------------------------------+ |Filename: crontab.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37697| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627 View this thread: http://forums.slimdevices.com/showthread.php?t=116247 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
