We are about to deploy GitLab EE 9.5.0 starting at 13:35 UTC

Commit d590be77 by Y@B5400

Merge branch 'master' of gitlab.com:yargo/ambros

parents 520a1d07 bc7cdf07
......@@ -39,7 +39,7 @@ Verzeichnisstruktur:
#### Variablen
- XXXSTATUS: oberste aktuell laufende XXX-Prioritaet (20=PPP, falls keine)
- XXXSTATUS: oberste aktuell laufende XXX-Prioritaet (25=PPP, falls keine)
### Quelle
......@@ -182,7 +182,7 @@ PBL-Zeilen mit anderem als Buchstaben an erster Stelle werden ignoriert (Komment
- _Prefix_ `_a..z` (Kanalselektor falls mehrere Sendekanaele, `_` fuer alle)
- _Prio_ Zahl `10..99` (`0..9` reserviert)
- _Index_ Ganzzahl (`0[0*]` ist reserviert fuer XXX)
- _Index_ Ganzzahl (`[0*]0` ist reserviert fuer XXX)
- _Suffix_ `.txt`
- normalerweise im 8.3-Schema PNNMMMMM.YYY, dh Index mindestens bis zu 1E5-1;
zB `a4000123.txt` (Kanal a, Prio 40, Nr.123)
......
......@@ -8,7 +8,7 @@
. $SCRIPTDIR/constants.sh
# save channel name for reference - but we should already be in that directory
chan=$1
chan=${1:UNKNOWN}
myself=planner-$chan
logf=`logfile $myself`
......@@ -36,7 +36,7 @@ fi
# handler for restarting/reloading
restart () {
logit $logf signal reloading configuration files and restarting
logit $logf signal "(re)loading config, (re)starting"
RESTARTPLANNER=1
}
# flag initially _set_ to force initializing during launch
......@@ -54,22 +54,22 @@ trap finish $SIGDAEMONTERMINATE
while test ABORTPLANNER -eq 0
# reduce load in case of severe bugs/problems
do sleep 3
do sleep 1
if test $RESTARTPLANNER -eq 1
then
sources=`configread $CHANNELCONFIG SOURCES ',:;'`
logit $logf config sources: $sources"
logit $logf config "sources: $sources"
# last resource default: no postprocessor, i.e `cat`
postprocessor=`configread $CHANNELCONFIG POSTPROCESSOR`
postprocessor=${postprocessor:-/bin/cat}
logit $logf config postprocessor: $postprocessor
# last resource defaults: ToC length 2min, ToC retransmission period 3 slices
logit $logf config "postprocessor: $postprocessor"
# desperate defaults: ToC length 2min, ToC period 5 slices
toclength=`configread $CHANNELCONFIG TOCLENGTH`
toclength=${toclength:-120}
tocslices=`configread $CHANNELCONFIG TOCSLICES`
tocslices=${tocslices:-3}
tocslices=${tocslices:-5}
# do not restart until signal received again
RESTARTPLANNER=0
fi
done
done
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment