[copy-daemon] Add postinst and postrm