summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-02 18:08:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-02 18:08:53 +0000
commitb0fe419fa0f83ab3755367c1803167568a11a722 (patch)
treeafc706b202a96a20aa6d65f8758d29af143c7cae /src/inspircd.cpp
parent1d918f525e73c5061e4ad9e17d745455b6837ace (diff)
Added pid file support, and documentation for it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@950 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
1 files changed, 4 insertions, 0 deletions
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 */