[debpool] init script

Andreas Fester Andreas.Fester at gmx.de
Sun Apr 15 20:17:07 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I made the init script work for both starting *and* stopping
the debpool deamon and added it to my branch.
The approach I took is:

- - debpool already creates a .lock file containing the PID;
  I modified Config.pm so that this file defaults to
  /var/run/debpool/debpool.pid
  The directory /var/run/debpool must be owned by the
  debpool user (assumption is that debpool does not run as root).

- - The /etc/init.d/debpool script uses start-stop-daemon
  with the --pidfile parameter to shut down the proper process.

Any comments welcome ...

Best 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

iD8DBQFGIohDZ3bQVzeW+rsRAuqcAJ9kZ+xeRwsw6wNsz/QNvHgI726eAgCgiD6Y
EYLk6NANHdhRI4Kswo8Kez8=
=kqav
-----END PGP SIGNATURE-----



More information about the Debpool-devel mailing list