stop daemon and get configuration from config file