Changes between Version 3 and Version 4 of IndyTubeInitScript


Ignore:
Timestamp:
06/28/09 05:08:39 (5 years ago)
Author:
vik
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IndyTubeInitScript

    v3 v4  
    66# e.g INDY_INSTANCES="/foo/bar/indytube1 /foo/bar/indytube2" 
    77INDY_INSTANCES="/opt/plumi-0.2.3-final/indytube" 
     8 
     9# This has to be the same as what's defined for ENCODER_LOCKFILE_BASE in indytube.conf.  
     10# indytube.conf should be modified so the lockfile is stored in the instance's directory, 
     11# so $INDY_INSTANCE/$LOCKFILE is the same path as ENCODER_LOCKFILE_BASE in indytube.conf 
     12LOCKFILE="indytube-encoder.lock" 
    813}}} 
    914 
     
    3641#  
    3742# INDY_INSTANCES="/opt/plumi-0.2.3-final/indytube" 
    38 # 
     43# LOCKFILE="indytube-encoder.lock" #must be same as defined in indytube.conf 
    3944conf="/etc/default/indytube" 
    4045test -f "$conf" && . "$conf" 
     
    4449do_start() 
    4550{ 
     51        rm -f $instance/$LOCKFILE 
    4652        $instance/$DAEMON >$instance/$LOGFILE 2>&1 & 
    4753        echo $! > $instance/$PIDFILE