Add condition for sever startup.