check config before starting/reloading