Start/stop motion when server starts/stops