From b0fe419fa0f83ab3755367c1803167568a11a722 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 2 Apr 2005 18:08:53 +0000 Subject: Added pid file support, and documentation for it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@950 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index eda78a84b..d6bfb40e6 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -3386,6 +3386,10 @@ int InspIRCd(void) Exit(ERROR); } } + + char PID[MAXBUF]; + ConfValue("pid","file",0,PID,&config_f); + WritePID(PID); /* setup select call */ -- cgit v1.2.3