Added maintenance mode on restarts by default. During a manual restart or during an autorestart (ie: check-http),
it will create the maintenance file to prevent any other autorestart during the time specified in MAINTENANCE_TIME variable.