summaryrefslogtreecommitdiff
path: root/src/init.cpp
AgeCommit message (Collapse)Author
2024-03-20Add the --nopid option to disable writing a pidfile.Sadie Powell
This is useful for init scripts that don't fork.
2024-03-20Fix deleting pidfiles.Sadie Powell
2024-03-19Use paths relative to data/conf in the config file.Sadie Powell
This was done in some places already but not consistently. Closes #349.
2024-03-19Allow using absolute paths in more places.Sadie Powell
2024-03-18Fix not storing the start time after calling UpdateTime.Sadie Powell
2024-03-18Use clock_gettime if it is available.Sadie Powell
2024-03-12Require that at least one encryption module is loaded.Sadie Powell
2024-03-11Replace convertTo/stringify with non-throwing alternatives.Sadie Powell
Having these throw is terrible for ergonomics and there are loads of places where the exception was either silently ignored or not handled at all. Having a function which returns an optional and another that returns a default works a lot better imo.
2024-03-07Use the C++11 random number generator instead of rand().Sadie Powell
This is safer, faster, and doesn't require seeding.
2024-02-29Rework some platform compatibility code.Sadie Powell
2024-02-27Fix write_pidfile on Windows.Sadie Powell
Microsoft's documentation lies again.
2024-02-26Use fstream for accessing files where possible.Sadie Powell
2024-02-25Kill checks for obsolete versions of Windows.Sadie Powell
Because of the required system functionality Anope will not build or run on these systems anyway.
2024-01-06Use auto in places where the type is unambiguous.Sadie Powell
2024-01-05Use normal exit codes when exiting the process.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2024-01-04Fix a typo in GetCommandLineArgument.Sadie Powell
2023-10-11Start migrating to range-based for loops.Sadie Powell
2023-06-03Merge branch '2.0' into 2.1.Sadie Powell
2023-05-28config: remove dependency on no-delete-null-pointer-checksAdam
2023-05-04Avoid returning null when a config tag does not exist.Sadie Powell
This invokes undefined behaviour on modern compilers.
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Update more IRCServices references to reflect the current project.Sadie Powell
- If referring to the specific piece of software use "Anope". - If referring to services in general use "services".
2022-01-04Use C++11 header names instead of their deprecated equivalents.Sadie Powell
2022-01-04Replace all uses of push_back with emplace_back.Sadie Powell
2021-08-01Merge branch '2.0' into 2.1.Sadie Powell
2021-06-17Fix various spelling issues (#274).Josh Soref
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>.
2021-05-31Merge branch '2.0' into 2.1.Sadie Powell
2021-04-08Log when freopen and chown fail.Sadie Powell
2021-02-18Merge branch '2.0' into 2.1.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-11-19Only grant an account an identifier when the identifier is needed.Sadie Powell
2020-09-28Rename things from services to anope.Sadie Powell
2020-09-10Implement support for immutable account identifiers.Sadie Powell
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-11-10Update most URLs to use HTTPS if available, and fix some dead ones too.Robby
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-10-12Add post init eventAdam
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-07-08Fix a ton of typos.Peter Powell
2014-12-12Anope will now fork even when not started from a tty, like init scrpits.Michał Zegan
It is useful for init systems or startup scripts, because it allows easily waiting until services connect to the uplink, without them forking it wouldn't be possible to tell if they finished initialization or not unless they would communicate directly with init systems like systemd.
2014-06-28Don't try to setuid down until after we signal the parent to exit, unless ↵Adam
we're not forking. Also don't issue the run as root warning if we're going to setuid later.
2014-05-21Core prep for p10 stuffAdam
2014-04-06Do not apply module changes on rehash until after the new config has been ↵Adam
applied. Fix renaming opertypes on reload.