Hello. I will mention something completely unrelated... :)
To achieve the same behavior as daemon of FreeBSD 10.x, the current daemon requires argument -m 0. However, it is not written that 0 can be used for option -m. (I stated the same thing in bug 236117.) pcscd (port of devel/pcsc-lite) leaves a handle to the terminal when started from the terminal due to insufficient daemonization procedures. I am wrapping a daemon outside of pcscd to resolve it and restarting. (It's like "daemon service pcscd restart".) Although they are completely unrelated, I think there are things to be careful about when using a daemon :) Regards.
