myoptic, well done on an excellent guide on installing Squeezelite on Debian.
There's just one item which needs to be amended in the portion below. Just after the line LMS=192.168.x.x , insert the following: (a) if 32 bit Squeezelite: sudo mv /opt/squeezelite/squeezelite-i386 /opt/squeezelite/squeezelite (b) if 64 bit Squeezelite: sudo mv /opt/squeezelite/squeezelite-x86-64 /opt/squeezelite/squeezelite "Copy and paste this into /etc/init.d/squeezelite. Make sure you change the variables. USER should be the user you created when you installed Debian. OUTPUT is the device we found earlier with ./squeezelite -l. NAME can be whatever you like. LMS is the IP address of your logitech media server. Code: #!/bin/sh ### BEGIN INIT INFO # Provides: squeezelite # Required-Start: $syslog # Required-Stop: $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Script to start squeezelite # Description: Service script for squeezelite, command line squeezebox player ### END INIT INFO #Define some variables. LMS is the IP of your Logitech Media Server. Output device can be found by running squeezelite -l USER=someuser OUTPUT=iec958:CARD=SB,DEV=0 NAME=SqueezelitePlayerName LMS=192.168.x.x case "$1" in start) echo "Starting Squeezelite" start-stop-daemon --start --quiet -b -m -p /var/run/squeezelite.pid --chuid $USER --exec /opt/squeezelite/squeezelite -- -z -o $OUTPUT -n $NAME $LMS ;; stop) echo "Stopping Squeezelite" start-stop-daemon --stop --quiet --pidfile /var/run/squeezelite.pid rm -f /var/run/squeezelite ;; *) echo "Usage: /etc/init.d/squeezelite {start|stop}" exit 1 ;; esac exit 0 Next, change the init to be executable with Code: # chmod +X /etc/init.d/squeezelite" ------------------------------------------------------------------------ kesey's Profile: http://forums.slimdevices.com/member.php?userid=10786 View this thread: http://forums.slimdevices.com/showthread.php?t=98152 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix