auto start server in cli mode