]> arthur.barton.de Git - ngircd-alex.git/blobdiff - doc/sample-ngircd.conf
New configuration variable "PidFile", section "[Global]": if defined,
[ngircd-alex.git] / doc / sample-ngircd.conf
index d872b0de91152c0028f83cb0532c298405815aae..a34f04801ed84b6c6a071a86d6811fe66293660e 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: sample-ngircd.conf,v 1.29 2005/01/17 12:51:17 alex Exp $
+# $Id: sample-ngircd.conf,v 1.30 2005/02/04 14:24:21 alex Exp $
 
 #
 # This is a sample configuration file for the ngIRCd, which must be adepted
        # with root privileges!
        ;ChrootDir = /var/empty
 
+       # This tells ngircd to write its current process id to a file.
+       # Note that the pidfile is written AFTER chroot and switching uid, i.e.
+       # the Directory the pidfile resides in must be writeable by the ngircd user and
+       # exist in the chroot dir.
+       ;PidFile = /var/run/ngircd/ngircd.pid
+
        # After <PingTimeout> seconds of inactivity the server will send a
        # PING to the peer to test whether it is alive or not.
        ;PingTimeout = 120