1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 11:33:12 +02:00

Anope will now fork even when not started from a tty, like init scrpits.

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.
This commit is contained in:
Michał Zegan
2014-12-12 19:46:20 +01:00
parent 7213413f8b
commit e4068249dd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ void Server::Sync(bool sync_links)
FOREACH_MOD(OnUplinkSync, (this));
if (!Anope::NoFork && Anope::AtTerm())
if (!Anope::NoFork)
{
Log(LOG_TERMINAL) << "Successfully linked, launching into background...";
Anope::Fork();