summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-20 21:34:28 +0000
committerSadie Powell <sadie@witchery.services>2024-03-20 21:34:28 +0000
commit4399eeaa587e5cb4c4f3b7a6a3a79390e32b7b78 (patch)
treeef74d644e56ab90ac4df1e22759ce51cf0a3e6cf /src/main.cpp
parent38cfb0603a79ca5545d8e9d2980cc6b3fef2d9e6 (diff)
Add the --nopid option to disable writing a pidfile.
This is useful for init scripts that don't fork.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7106579c0..498378c43 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -24,7 +24,7 @@
/* Command-line options: */
int Anope::Debug = 0;
-bool Anope::ReadOnly = false, Anope::NoFork = false, Anope::NoThird = false, Anope::NoExpire = false, Anope::ProtocolDebug = false;
+bool Anope::ReadOnly = false, Anope::NoFork = false, Anope::NoThird = false, Anope::NoPID = false, Anope::NoExpire = false, Anope::ProtocolDebug = false;
Anope::string Anope::ServicesDir;
Anope::string Anope::ServicesBin;