Changes between Version 3 and Version 4 of IndyTubeInitScript
- Timestamp:
- 06/28/09 05:08:39 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IndyTubeInitScript
v3 v4 6 6 # e.g INDY_INSTANCES="/foo/bar/indytube1 /foo/bar/indytube2" 7 7 INDY_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 12 LOCKFILE="indytube-encoder.lock" 8 13 }}} 9 14 … … 36 41 # 37 42 # INDY_INSTANCES="/opt/plumi-0.2.3-final/indytube" 38 # 43 # LOCKFILE="indytube-encoder.lock" #must be same as defined in indytube.conf 39 44 conf="/etc/default/indytube" 40 45 test -f "$conf" && . "$conf" … … 44 49 do_start() 45 50 { 51 rm -f $instance/$LOCKFILE 46 52 $instance/$DAEMON >$instance/$LOGFILE 2>&1 & 47 53 echo $! > $instance/$PIDFILE
