예제 #1
0
        static void Main(string[] args)
        {
            CommandLineInterface.EnsureAdminRights();

            SetInfo(new ServiceInfo("BamFileChunker", "Bam File Chunker", "Bam File Chunker: chunks files and serves chunks"));

            if (!ProcessCommandLineArgs(args))
            {
                RunService <Chunker>();
            }
        }
예제 #2
0
        static void Main(string[] args)
        {
            CommandLineInterface.EnsureAdminRights();

            SetInfo(new ServiceInfo("BamHttpServer", "Bam Http Server", "Bam http application server"));

            if (!ProcessCommandLineArgs(args))
            {
                RunService <Program>();
            }
        }