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>(); } }
static void Main(string[] args) { CommandLineInterface.EnsureAdminRights(); SetInfo(new ServiceInfo("BamHttpServer", "Bam Http Server", "Bam http application server")); if (!ProcessCommandLineArgs(args)) { RunService <Program>(); } }