1 2 3 4 5 6 7 8 9 10
[Trigger] Operation = Remove Type = Package Target = bitcoin-core [Action] Description = Cleaning up bitcoin daemon user directories... Depends = coreutils When = PostTransaction Exec = /usr/bin/rm -rf /srv/bitcoin /var/lib/bitcoind