Add before_start script when start ES service