Build daemon selectively depending on action