summarylogtreecommitdiffstats
path: root/libbitcoin-node-git-02-chown.hook
diff options
context:
space:
mode:
authorAndy Weidenbaum2018-03-31 21:28:51 -0400
committerAndy Weidenbaum2018-03-31 21:28:51 -0400
commit222bf7aa40f7719c080f4544405da7ce5513dd64 (patch)
treedd7ed0a6e56e53e18b89b461bbf1f6dd43236dfc /libbitcoin-node-git-02-chown.hook
parent69c91289d8dac80860e7d2ae8963b2e268797ca9 (diff)
downloadaur-222bf7aa40f7719c080f4544405da7ce5513dd64.tar.gz
increment pkgrel to 2; pacman hooks
Diffstat (limited to 'libbitcoin-node-git-02-chown.hook')
-rw-r--r--libbitcoin-node-git-02-chown.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libbitcoin-node-git-02-chown.hook b/libbitcoin-node-git-02-chown.hook
new file mode 100644
index 000000000000..e469a9f7bb81
--- /dev/null
+++ b/libbitcoin-node-git-02-chown.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = libbitcoin-node-git
+
+[Action]
+Description = Setting libbitcoin node/server user directory permissions...
+Depends = coreutils
+When = PostTransaction
+Exec = /usr/bin/chown -R obelisk:obelisk /etc/obelisk /srv/obelisk /var/log/obelisk