X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Ffmsapp.cpp;h=318244382475fd013734060e7e85f9eec3d77910;hp=99712c59533fa5d995abf91e2b71dd6dc808bbb9;hb=cd97061e86eeecf5b77dea35f0549e73a50eb200;hpb=023b2219068d481cd6a300982427c99bacd88a12 diff --git a/src/fmsapp.cpp b/src/fmsapp.cpp index 99712c5..3182443 100644 --- a/src/fmsapp.cpp +++ b/src/fmsapp.cpp @@ -172,6 +172,11 @@ int FMSApp::main(const std::vector &args) waitForTerminationRequest(); + if(isInteractive()==true) + { + std::cout << "Please wait while FMS shuts down." << std::endl << std::endl; + } + logger().trace("FMSApp::main cancelling threads"); m_threads.Cancel(); logger().trace("FMSApp::main joining threads"); @@ -231,6 +236,10 @@ void FMSApp::StartThreads() logger().trace("FMSApp::StartThreads starting HTTPThread"); m_threads.Start(new HTTPThread()); } + else + { + logger().trace("FMSApp::StartThreads not starting HTTPThread"); + } tempval=""; Option::Instance()->Get("StartNNTP",tempval); @@ -239,6 +248,10 @@ void FMSApp::StartThreads() logger().trace("FMSApp::StartThreads starting NNTPListener"); m_threads.Start(new NNTPListener()); } + else + { + logger().trace("FMSApp::StartThreads not starting NNTPListener"); + } tempval=""; Option::Instance()->Get("StartFreenetUpdater",tempval); @@ -247,5 +260,9 @@ void FMSApp::StartThreads() logger().trace("FMSApp::StartThreads starting FreenetMasterThread"); m_threads.Start(new FreenetMasterThread()); } + else + { + logger().trace("FMSApp::StartThreads not starting FreenetMasterThread"); + } }