Francy07 wrote: > Ok, as always very nice and helpful. > Thanks for all!!! > > Vincenzo
@Vincenzo I have to apologise for my somewhat remiss belief that Squeezelite should autostart in Ubuntu. Well of course it does, but fails (exits) because LMS starts after Squeezelite :confused: Today I looked at my Linux Mint istallation and decided to update to the latest version (my current one is going EOL in March) I performed the upgrade and installed LMS and Squeezelite. Then I found I had the same problem as yourself (I must have either solved this before or got confused with an Ubuntu install I tried a couple of years ago) Anyway, I will have "humble pie" for tea 37392 I did some searching on the internet and could not find a way to reolve the startup situation, maybe delaying LMS, or setting a "wait for network" command is the way, but it takes a lot of time to find the correct method and I'm an old dog and it is only a backup device I want to keep running. I remembered something I had configured for a poster on another forum, and here it is.:) It works on my Linux Mint and should on your Ubuntu (if you care to try) SSH into Ubuntu type Code: -------------------- sudo crontab -e -------------------- append this line to the bottom of the file Code: -------------------- @reboot sleep 20 && sudo /usr/local/bin/restart.sh -------------------- Save and exit with ctrl + x, followed by y when prompted to save, and then Enter then make this file type Code: -------------------- sudo nano /usr/local/bin/restart.sh -------------------- enter text Code: -------------------- #!/bin/bash sudo /etc/init.d/squeezelite restart -------------------- Save and exit with ctrl + x, followed by y when prompted to save, and then enter make the file executable Code: -------------------- sudo chmod a+x /usr/local/bin/restart.sh -------------------- Reboot with Code: -------------------- sudo reboot -------------------- The "sleep 20" in the crontab boot line is the number of seconds to wait before actioning the command, if you wish to try a shorter time, then just adjust the number :) ronnie +-------------------------------------------------------------------+ |Filename: facepalm.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37392| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix