Designed by us, defined by you. Snakeoil OS is: Music Your Way!

Improve Squeezelite startup

Add full path to /var/www/scratch, also clear /var/www/scratch/* before starting players.

i try to help you to resolv problems after the last upgrade.

I discover an error in Squeezelite-R2 :

i change the file /var/www/players/Squeezelite-R2/start

in this way :

the old is :

#!/bin/bash

for conf in scratch/squeezelite.*; do

sh "${conf}"

done

exit 0=============================================

The new :

=============================================

#!/bin/bash

for conf in /var/www/scratch/squeezelite.*; do

sh "${conf}"

done

exit 0

=============================================

I changed the file /var/www/players/Squeezelite-R2/config

The line :

CONFIG_FILE="/var/www/scratch/squeezelite"

In this way i can manually start the 2 services :

sudo systemctl start logitechmediaserver

sudo bash "/var/www/players/Squeezelite-R2/start"

I send also 2 diagnostic files from Snakeoil OS .

Good debug work to you, and thank for all your work in SnakeoilOs !

Tell me if i can help you, linux is a love for me !

By …. Ciao !

Edited by agent_kith