summarylogtreecommitdiffstats
path: root/bitcoin-core-02-chown.hook
blob: 3e1b93b4719f4037fbbb4b7ccc3b5cb63a208311 (plain)
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