X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=blobdiff_plain;f=newstailer-invoke;fp=newstailer-invoke;h=251096cc11bb02170bd4c15a55b96b87431d6ddf;hb=457ce43b1bb5357a39b5e99f937c36896f1e9597;hp=ecba60cb09f6adef078df71c282afb71938e11d6;hpb=33a19df714309c22f1ca3776c8e4e5e1768bfdba;p=rrd-graphs.git diff --git a/newstailer-invoke b/newstailer-invoke index ecba60c..251096c 100755 --- a/newstailer-invoke +++ b/newstailer-invoke @@ -1,4 +1,24 @@ #!/bin/sh +# +# Wrapper for starting newstailer +# Rather chiark-specific. You might replace with-lock-ex with flock(1). + +# rrd-graphs/newstailer-invoke - part of rrd-graphs, a tool for online graphs +# Copyright 2010, 2012 Ian Jackson +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + set -e log=/var/log/news/news.notice exec with-lock-ex -q data/news/lock ./newstailer -D -Odata/news/ $log.0 $log