X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=.inspircd.inc;h=8b4aad32a7901a3e655b5b94445400af5ee25951;hb=d616538805bcda081d362f23dc7bc7b25118c4a2;hp=f25a3a179eb7806b8a1044c9ccde6e46ccc99ad0;hpb=c881ce41209586df45a62c61ae1e74ed8456c0a0;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/.inspircd.inc b/.inspircd.inc index f25a3a179..8b4aad32a 100644 --- a/.inspircd.inc +++ b/.inspircd.inc @@ -84,7 +84,6 @@ sub start { if (getstatus() == 1) { print "InspIRCd is already running.\n"; return 0; } # If we are still alive here.. Try starting the IRCd.. system("$binpath/$executable"); - sleep 2; return 1; } @@ -102,7 +101,6 @@ sub stop { my $pid = getprocessid(); print "Stopping InspIRCd...\n"; system("kill -TERM $pid >/dev/null 2>&1"); - sleep 2; if (getstatus() == 1) { print "InspIRCd not dying Quietly -- Forcing Kill\n";