\r
#define VERSION_MAJOR "0"\r
#define VERSION_MINOR "3"\r
-#define VERSION_RELEASE "4"\r
+#define VERSION_RELEASE "5"\r
#define FMS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_RELEASE\r
\r
typedef Poco::ScopedLock<Poco::FastMutex> Guard;\r
\r
waitForTerminationRequest();\r
\r
+ if(isInteractive()==true)\r
+ {\r
+ std::cout << "Please wait while FMS shuts down." << std::endl << std::endl;\r
+ }\r
+\r
logger().trace("FMSApp::main cancelling threads");\r
m_threads.Cancel();\r
logger().trace("FMSApp::main joining threads");\r
logger().trace("FMSApp::StartThreads starting HTTPThread");\r
m_threads.Start(new HTTPThread());\r
}\r
+ else\r
+ {\r
+ logger().trace("FMSApp::StartThreads not starting HTTPThread");\r
+ }\r
\r
tempval="";\r
Option::Instance()->Get("StartNNTP",tempval);\r
logger().trace("FMSApp::StartThreads starting NNTPListener");\r
m_threads.Start(new NNTPListener());\r
}\r
+ else\r
+ {\r
+ logger().trace("FMSApp::StartThreads not starting NNTPListener");\r
+ }\r
\r
tempval="";\r
Option::Instance()->Get("StartFreenetUpdater",tempval);\r
logger().trace("FMSApp::StartThreads starting FreenetMasterThread");\r
m_threads.Start(new FreenetMasterThread());\r
}\r
+ else\r
+ {\r
+ logger().trace("FMSApp::StartThreads not starting FreenetMasterThread");\r
+ }\r
\r
}\r