Bug#487700: inoticoming: please add example initscript

2008-06-24 Thread Tilman Koschnick
On Tue, 2008-06-24 at 20:58 +0200, Bernhard R. Link wrote:
> Could you repost with full Copyright header and some short licence
> statement?

I have added a short copyright statement to the init script (file
attached). Feel free to drop it - hardly any init scripts carry one, and
the template (/etc/init.d/skeleton from initscripts) just says to change
the author's name.

Distributed under GPLv2, as both initscripts and inoticoming are.

Cheers, Til


inoticoming.init
Description: application/shellscript


Bug#487700: inoticoming: please add example initscript

2008-06-24 Thread Bernhard R. Link
* Tilman Koschnick <[EMAIL PROTECTED]> [080623 19:08]:
> I have written (well, modified skeleton...) a simple initscript to
> start/stop inoticoming automatically. The script is meant to be used
> with reprepro, but could easily be adapted for other uses. Most options
> are set in a separate default file.
> 
> This might be useful to others as well, so maybe you could include it
> under /usr/share/doc/inoticoming/examples. Files attached.

Wow, this lsb stuff makes this thing really long and mostly unreadable.
I personally prefer it to be started using cron, but I can include this
as example, too.

Could you repost with full Copyright header and some short licence
statement?

Hochachtungsvoll,
Bernhard R. Link



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#487700: inoticoming: please add example initscript

2008-06-23 Thread Tilman Koschnick
Package: inoticoming
Version: 0.2.0-1~bpo40+1
Severity: wishlist
Tags: patch

Hi,

I have written (well, modified skeleton...) a simple initscript to
start/stop inoticoming automatically. The script is meant to be used
with reprepro, but could easily be adapted for other uses. Most options
are set in a separate default file.

This might be useful to others as well, so maybe you could include it
under /usr/share/doc/inoticoming/examples. Files attached.

Cheers, Til


inoticoming.init
Description: application/shellscript
# /etc/default/inoticoming
#
# for an explanation of options and actions, see inoticoming(1)

# user to run inoticoming as
USER=incoming

# log to some file instead of syslog
# required if you want to use --stdout-to-log or --stderr-to-log in actions
LOGFILE="/var/log/incoming.log"

# first search the directory for files already existing
# 0 for false, 1 for true
INITIALSEARCH=0

# directory to monitor
DIR=/var/spool/incoming

# actions 
BASEDIR=/var/cache/reprepro/local
RULENAME=incoming
ACTIONS="--suffix .changes --stderr-to-log reprepro -s -b $BASEDIR 
--waitforlock 1000 processincoming $RULENAME {} ;"