Added daemon_user as a parameter.