Krisbee wrote: 
> 
> 1. Non-programmers (that's me) might be wondering why use "make
> install-strip" instead just "make install" when building perl. 
> 
install-strip runs 'strip'
(http://en.wikipedia.org/wiki/Strip_%28Unix%29) during the install.

> 
> 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.
> 
Never had this issue (although I saw you mentioning something like this
in the other thread). If the perms are wrong in the tar, I'd suggest
raising this as an issue with Logitech.

> 
> 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
  > 
--------------------
> > 
> 
I wouldn't do it like this - if you don't want to change the (pointless)
DAEMON_SAFE (why?), assign $DAEMON to DAEMON_SAFE

> 
> 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/ 
> 
It's slightly more complicated than that. You do need a prefs location
for runtime (as LMS will save it's preferences there). For gentoo, it's
/etc/squeezeserver, for debian /var/lib/squeezeboxserver/prefs
I'll make that clearer in the guide

> 
> 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
--------------------
> > 
> 
For security reasons, I'd recommend setting home to /dev/null and shell
to /sbin/nologin or /bin/false

> 
> 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:
> 
Good point - I'll add logrotate to the guide



[ extGUI4LMS - an alternative web interface: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (http://code.google.com/p/extgui4lms/) ]
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=99648

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to