public static void main ( String [ ] args ) throws Exception { if ( args . length < 1 ) { EsigateServer . usage ( ) ; return ; } switch ( args [ 0 ] ) { case "start" : EsigateServer . init ( ) ; EsigateServer . start ( ) ; break ; case "stop" : EsigateServer . stop ( ) ; break ; default : EsigateServer . usage ( ) ; break ; } }
Esigate Server entry point .