summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
AgeCommit message (Collapse)Author
2021-03-05Update copyright headers.InspIRCd Robot
2021-03-03Fix not being able to colour format output to stderr on Windows.Sadie Powell
2021-02-26Update copyright headers.InspIRCd Robot
2021-02-01Duplicate the stdout file handle when used for logging.Sadie Powell
Failure to do this may result in a crash on shutdown when started in debug mode.
2021-01-18Fix showing the start header when using --version.Sadie Powell
2021-01-18Add a new runtime directory and move the pid file to it.Sadie Powell
The data directory is intended for persistent files whereas the pid file is ephemeral. This distinction doesn't matter by default but on system-wide installs ephemeral runtime files go in /var/run or /run instead.
2020-11-03Fix an off by one error in the "unknown option" message.Sadie Powell
2020-07-30Update copyright headers.InspIRCd Robot
2020-07-01Minor typo correction.Matt Schatz
2020-04-21Fixes by misspell-fixerInspIRCd Robot
2020-03-30Fix clock skip warnings being inverted.Sadie Powell
2020-02-19Extract time skip warning code to a static function.Sadie Powell
2020-02-02Make loading modules considerably more robust and user friendly.Sadie Powell
2020-01-19Move DeleteZero to stdalgo::delete_zero.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2020-01-03Bind ports before loading modules.Sadie Powell
This fixes a defect introduced in ce7979bd7d where the ircv3_sts module was unable to find the SSL listener.
2019-12-12Extract port binding code to a function and improve output.Peter Powell
2019-12-09Make BindPorts return size_t instead of int.Peter Powell
2019-12-09Make ForkIntoBackground handle exiting by itself.Peter Powell
2019-12-09Extract command line option parsing to a function.Peter Powell
2019-12-09Fix indentation of CheckRoot() and error in non-interactive mode.Peter Powell
2019-12-08Improve behaviour when running as root.Peter Powell
- Only give the annoying message about root if --runasroot is not specified. - If --runasroot is specified then assume the user knows what they are doing. - Move CheckRoot to a static function in inspircd.cpp.
2019-12-08Show the header before checking if the config file exists.Peter Powell
2019-12-08Initialise Winsock from inside the socket engine.Peter Powell
2019-12-08Extract config file finding code to a function.Peter Powell
2019-12-08Extract performance stat code to a function.Peter Powell
2019-12-08Move XLine garbage collection to core_xline.Peter Powell
2019-12-08Increase the core dump size earlier in the process lifetime.Peter Powell
According to `man 2 getrlimit` resource limits are inherited by the child when a process forks.
2019-12-08Call RecoverFromFork from ForkIntoBackground.Peter Powell
2019-12-08Convert InspIRCd::SetSignals to a static function.Peter Powell
2019-12-08Move forking code into a function and remove DaemonSeed.Peter Powell
2019-12-08Extract the core dump size increasing code to a function.Peter Powell
2019-12-08Make the UpdateTime function easier to read.Peter Powell
2019-12-08Extract root dropping code to a function.Peter Powell
2019-12-08Extract rng initialisation code to a function.Peter Powell
2019-12-08Move various static functions into an anonymous namespace.Peter Powell
2019-12-08Clean up the initialisation of the InspIRCd class.Peter Powell
2019-10-17Add an event which is fired when the server shuts down.Peter Powell
2019-07-03Fix not expanding <pid:file> correctly.Peter Powell
2019-06-20Deduplicate dirent.h inclusion.Peter Powell
2019-05-30Ignore SIGUSR1 and SIGUSR2 by default.Peter Powell
This stops users from accidentally killing their IRC server if they forget to load the sslrehashsignal module.
2019-02-05Quit users during cleanup instead of when /DIE is executed.Peter Powell
2019-02-05Delete the old broken test suite.Peter Powell
This doesn't work properly and is disabled in both debug & release builds. It will be resurrected with a proper unit testing framework in the future.
2019-01-24Move the <disabled> tag out of the core to a new module.Peter Powell
2018-12-04Add an option for changing the allowed server clock drift.Peter Powell
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-07Remove the 'debug' snotice character.Peter Powell
2018-06-25Allow relative paths to be passed in --config on boot.Peter Powell
Closes #1115.
2018-06-04Add --nopid command line option (#1497).Chris Novakovic
Add a --nopid command line option, which causes a PID file not to be written to the file system regardless of the presence of the <pid> tag in the configuration file or the value of its "file" variable if it is present.
2017-12-23Get rid of InspIRCd::QuickExit.Peter Powell
This is just a thin wrapper around exit(). I don't think we really need it. While we are changing this code the setgroup/setuser code should be using EXIT_STATUS_CONFIG too.