env config before application restart