1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-09 13:56:01 +00:00

New configuration variable "PidFile", section "[Global]": if defined,

the server writes its process ID (PID) to this file. Default: off.
Idea by Florian Westphal, <westphal@foo.fh-furtwangen.de>.
This commit is contained in:
Alexander Barton
2005-02-04 14:24:20 +00:00
parent ae63ed04c5
commit 112102b10c
7 changed files with 93 additions and 11 deletions

View 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
@@ -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 <PingTimeout> seconds of inactivity the server will send a
# PING to the peer to test whether it is alive or not.
;PingTimeout = 120