aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-23 09:46:28 +0100
committerGravatar Sadie Powell2022-04-23 09:57:52 +0100
commitd682f3f2c962d4f6f986ade58cf3c1dc4adfbc67 (patch)
tree2a29ba1486a77571f564254a5be1c4dac45e8dbf /include
parentMerge branch 'insp3' into master. (diff)
Only write to the pid file on boot.
Being able to change this after first boot is error prone and does not work well on system-wide installs where the server needs root to write the file. Closes #566.
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 477b60757..1fb73d19d 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -473,9 +473,8 @@ public:
std::string GetVersionString(bool getFullVersion = false);
/** Attempt to write the process id to a given file
- * @param exitonfail If true and the PID fail cannot be written log to stdout and exit, otherwise only log on failure
*/
- void WritePID(bool exitonfail);
+ void WritePID();
/** This constructor initialises all the subsystems and reads the config file.
* @param argc The argument count passed to main()