From 112102b10ce991340ba56e272e32bc50a73e1b05 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 4 Feb 2005 14:24:20 +0000 Subject: New configuration variable "PidFile", section "[Global]": if defined, the server writes its process ID (PID) to this file. Default: off. Idea by Florian Westphal, . --- doc/sample-ngircd.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf index d872b0de..a34f0480 100644 --- a/doc/sample-ngircd.conf +++ b/doc/sample-ngircd.conf @@ -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 @@ -67,6 +67,12 @@ # 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 seconds of inactivity the server will send a # PING to the peer to test whether it is alive or not. ;PingTimeout = 120 -- cgit 1.4.1