1 2 3 4 5 6 7 8 9 10 11
[Trigger] Operation = Install Operation = Upgrade Type = Package Target = bitcoin-core [Action] Description = Setting bitcoin daemon user directory permissions... Depends = coreutils When = PostTransaction Exec = /usr/bin/chown -R bitcoin:bitcoin /etc/bitcoin /srv/bitcoin