Server starting and stopping.