Attached is a small patch to NGIRCd CVS that writes the daemons pid to a file (Default: /var/run/ngircd/ngircd.pid).
The pidfile can be changed via the -P <pidfile> or --pidfile <pidfile> options.
The getpid.sh script included with ngircd does not work on FreeBSD 5.3-Stable (ps needs -ax switches). Also, the sample configuration file says 'one port, separated with ";"' ( the given example uses the correct "," seperator).
Thanks, Florian