Package: debpool
Severity: wishlist
Tags: patch

I think debpool should come with an init script, like the real daemons. Thus, 
I have written one (and an /etc/default config file).

It very hackishly runs the first 80 lines of /usr/bin/debpool in order to 
figure out where the .lock file is or will be. It should be a .pid file 
under /var/run, but this is still a test. This takes some time, but it 
ensures that the configuration can be parsed *before* restarting.

-- 
Magnus Holmgren        [EMAIL PROTECTED]
# Configuration file for debpool init script. This is a shell script
# sourced from /etc/init.d/debpool

# Change to 1 to enable running debpool as a daemon.

ENABLED=0

# Parameters passed to debpool. See DebPool::Config(5). You don't have
# to specify --daemon.

OPTIONS=""

# User or user:group to run debpool as. If you leave it empty, debpool
# will run as root.

USER=""

Attachment: debpool.init
Description: application/shellscript

Attachment: pgphX5Yc9jVGI.pgp
Description: PGP signature

Reply via email to