standardize the daemon creating steps