stack-monitor: creation of the stack.
[slapos.git] / stack / monitor / make-rss.sh.in
1 #!${dash-output:dash}
2
3 status=$${directory:monitor-result}/monitor.bool
4 RSS_DIR=$${directory:monitor-result}
5 PYTHON=${buildout:directory}/bin/${extra-eggs:interpreter}
6 STATUS2RSS=${rss-bin:location}/${rss-bin:filename}
7
8 NAME=`basename $status`
9 cat $status | $PYTHON $STATUS2RSS "Backup status $NAME" "http://localhost/$NAME.rss" > $RSS_DIR/monitor.rss