add redis-server startup and event process