diff --git a/source/lib/DownloadDispatcher/Main.class.php b/source/lib/DownloadDispatcher/Main.class.php new file mode 100644 index 0000000..8334745 --- /dev/null +++ b/source/lib/DownloadDispatcher/Main.class.php @@ -0,0 +1,25 @@ +daemon = new DownloadDispatcher_Daemon($this->config); + + } catch (SihnonFramework_Exception_AlreadyRunning $e) { + DownloadDispatcher_LogEntry::error($this->log, "Another instance is already running, exiting this process now."); + exit(0); + } + } + +} + +?> \ No newline at end of file