I worked through this process at the weekend before Roland0 made this
post.  Just a couple of points:

0. You may need to install libexpat1-dev and nasm before you start.

1. Non-programmers (that's me) might be wondering why use "make
install-strip" instead just "make install" when building perl. 

2. After the untar of logitechmediaserver-7.7.2-noCPAN.tgz. It's worth
checking that the files/dirs in the expanded tree have perms 755/644. I
believe this sets the correct perms:  
Code:
--------------------
    chmod -R u+rwX,go+rX,go-w /opt/logitechmediaserver-7.7.2-33893-noCPAN
--------------------


3. If you use, or copy as a different name, the standard debian
initscript saved from an existing LMS deb packag install, you could
alterantively simply edit two lines to read:


Code:
--------------------
    DAEMON=/opt/logitechmediaserver-7.7.2-33893-noCPAN/slimserver.pl
  DAEMON_SAFE=/opt/logitechmediaserver-7.7.2-33893-noCPAN/slimserver.pl
  
--------------------


4.  It's not necessary to create a /etc/squeezeserver dir, as the files
that would exist there are all present under
/opt/logitechmediaserver-7.7.2-33893-noCPAN/ 

5. If you need to add a "squeezeboxserver" user, it needs to be added as
a system user, e.g:


Code:
--------------------
    
  adduser --system --home /usr/share/squeezeboxserver --no-create-home --gecos 
"Logitech Media Server" squeezeboxserver
--------------------


7. If you want to use LMS with squeezelite, I found the   the
"squeezeboxserver" user needs to be added to the audio group:


Code:
--------------------
    
  usermod -a -G audio squeezeboxserver
--------------------



8. It's worth checking you still have a functioning log rotate for this
version of LMS.  You need to edit /etc/logrotate.d/logitechmediaserver:

change


Code:
--------------------
     /bin/kill -USR1 `pgrep squeezeboxserve -n 2>/dev/null` 2>/dev/null || :
--------------------



to 


Code:
--------------------
     /bin/kill -USR1 `pgrep slimserver.pl -n 2>/dev/null` 2>/dev/null || :
--------------------


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=99648

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to