[debpool] init script
Andreas Fester
Andreas.Fester at gmx.de
Mon Apr 16 19:30:28 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[...]
> I've attached the init script I wrote earlier. It's similar, but it also
> sources /etc/default/debpool, only starts debpool if ENABLED is set to
> something other than 0, and executes the first 80 lines of /usr/bin/debpool
> to extract the actual value of $Options{"lock_file"}. This is a bit crazy,
> but has the added benefit of checking that the configuration can be loaded
> *before* trying to restart debpool.
:D
I have now implemented a less innovative approach ;) and simply added
a "--queryConfig=parameterName" command line option to debpool.
This could also be useful for debugging, but it especially allows
to query the lock_file variable in the init script.
I will continue to apply the other differences like
/etc/default/debpool evaluation to the init script on
my branch...
Regards,
Andreas
- --
Andreas Fester
mailto:andreas at littletux.net
WWW: http://www.littletux.net
ICQ: 326674288
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGI87UZ3bQVzeW+rsRAgIoAKCfDyNzl0Y5hfd08nfqFVyA/DanygCfXeGH
OUHSpvutHmQa/Ge0TjN1NGY=
=01SH
-----END PGP SIGNATURE-----
More information about the Debpool-devel
mailing list