Daemon functionality.
Migrate to 1.12