#264: output restart failure
----------------------------+-----------------------------------------------
  Reporter:  romeodeepmind  |       Owner:  admin    
      Type:  Bugs           |      Status:  new      
  Priority:  1              |   Milestone:           
 Component:  Liquidsoap     |     Version:  0.9.0+svn
Resolution:                 |    Keywords:           
       Mac:  1              |       Linux:  1        
    Netbsd:  1              |       Other:  1        
   Freebsd:  1              |  
----------------------------+-----------------------------------------------

Comment(by romeodeepmind):

 oh, i have already checked out and compiled liq )) it's quick and simple
 to do. but i have another question: is it possible to run all liq
 instances with OCAMLRUNPARAM="b" in daemon mode? i need it as the server
 where i run tests has no local console - only ssh interface.

 maybe i need to set env in rc sript?

 say, something like this:


 {{{
  start)
     echo -n "Starting channels:"
     if [ ! -e $rundir ]; then
         mkdir -m 777 $rundir
     fi
     chmod 777 $rundir
     cd $confdir
     env OCAMLRUNPARAM="b"
     for liq in *.liq ; do
       if test $liq != '*.liq' ; then
         echo -n " $liq "
         start-stop-daemon --start --quiet --pidfile
 $rundir/${liq%.liq}.pid \
           --chuid $user:$group --exec $liquidsoap -- -d $confdir/$liq
       fi
     done
     echo "."
     ;;
 }}}

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/264#comment:4>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to