I use MusicIP headless but on a Clarkconnect 4 box.

This is what I did to start MusicMagicServer at boot before
SlimServer.


1. Extract MusicIP directory to /usr/local/ (seems as good a place as
any).

2. Wrote a start up (init) script, called it MusicMagicServer and
dropped it the init.d directory. This was the tricky part as I find
bash scripts a bit of a mystery, but what I did was to find an example
of a skeleton (in my case RedHat) init script and use it as a starting
point.

3. Made symlink "S58MusicMagicServer" in  "rc3.d" "rc4.d" "rc5.d" to
start MusicMagicServer before SlimServer.

4. Made symlink "K40MusicMagicServer" in "rc0.d" "rc6.d" to kill
MusicMagicServer.

5. On CC I can then use "service MusicMagicServer start" etc.



You could have a look at some init scripts on ubuntu, copy and alter to
suit.

Here is a handy tutorial for using init scripts on Debian based systems
that may be of some use.

http://www.youtube.com/watch?v=d39izaupvEg

Hope this is of some help and good luck.

Doug.


-- 
Dougal

Headless Mini-ITX
Clarkconnect 4.1, MPlayer, MusicMagicServer
SlimServer Version: 6.5.2 - 11840 - RedHat - EN - utf8
Perl Version: 5.8.5 i386-linux-thread-multi
MySQL Version: 5.0.21-standard
SB3 >Derek Shek DAC >Graham Slee Solo >HD650
------------------------------------------------------------------------
Dougal's Profile: http://forums.slimdevices.com/member.php?userid=5489
View this thread: http://forums.slimdevices.com/showthread.php?t=35443

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

Reply via email to