Andrew, any progress/news regarding MusicIP integration for Vortexbox?

I’m currently playing with Vortexbox 0.5 on a spare PC, trying
out SC7.4-25724, a custom Jive and MIP headless 1.8.

Just wanted to remark that for Fedora/Vortexbox use, it might be wise
to modify the '\"mmserver\" sample from the wiki'
(http://wiki.slimdevices.com/index.php/Integrating_MusicIP_with_SqueezeCenter#Installation_of_MiP_headless)
as follows, so it supports use with -chkconfig- and -ntsysv-:

Code:
--------------------
    
  #!/bin/bash
  #
  #       /etc/rc.d/init.d/mmserver
  #
  # Starts the MusicMagicServer daemon
  #
  # chkconfig: 345 79 31
  # description: runs the MusicMagicServer daemon
  # processname: MusicMagicServer
  
  
  # NON-PRIVILEGED USER TO RUN MUSICMAGICSERVER.
  USER=root
  # PATH TO THE MUSICMAGICMIXERSERVER 
  export MUSICHOME=/root/MusicIP/MusicMagicMixer/
  case $1 in
  start)
        su - $USER -c $MUSICHOME"MusicMagicServer start  & > /dev/null" 
        echo "Running MusicMagicServer"
        exit
        ;;
  stop)
        su - $USER -c $MUSICHOME"MusicMagicServer stop  & > /dev/null" 
        echo "Stopped MusicMagicServer"
        exit
        ;;
  *)
  echo "Usage: /etc/rc.d/init.d/mmserver { start | stop }"
        exit
        ;;
  esac
  
--------------------

Copy it to -/etc/init.d/mmserver-, then do a

Code:
--------------------
    
  chkconfig --level 345 mmserver on
  
--------------------

and reboot. MusicIP headless should now start before SqueezeCenter and
stop after :-)


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)
------------------------------------------------------------------------
Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=60670

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

Reply via email to