:: Monoid_a _ => _ a -package:protolude -package:xmonad package:hdaemonize

Use this function when the daemon should terminate normally. It logs a message, and exits with status 0.