Hi,

I've made a small hack to spamd so it saves its PID to
/var/run/spamd.pid. It will delete this file when it's killed. A total
of 4 lines of code :)


I did this so I can use the standard way to kill it from my rc scripts.

Something I left out is the check for other instances running as my rc
script takes care of that.

I'm attaching the diff -u file.

Federico Voges
Socio gerente

Intrasoft
Malabia 2137 14 A
(1425) Buenos Aires
Argentina

Te/Fax: 54-11-4833-5182
e-mail: [EMAIL PROTECTED]
Web: http://www.intrasoft.com.ar

PGP Public Key Fingerprint: A536 4595 EB6F D197  FBC1 5C3A 145C 2516

Attachment: spamd-pidfile.patch
Description: Binary data

Reply via email to