summarylogtreecommitdiffstats
path: root/libbitcoin-node-git-02-chown.hook
diff options
context:
space:
mode:
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