summarylogtreecommitdiffstats
path: root/lndhub.hook
diff options
context:
space:
mode:
Diffstat (limited to 'lndhub.hook')
-rw-r--r--lndhub.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/lndhub.hook b/lndhub.hook
new file mode 100644
index 000000000000..5cdea6439b62
--- /dev/null
+++ b/lndhub.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = lndhub
+
+[Action]
+Description = Setting daemon user directory permissions...
+Depends = coreutils
+When = PostTransaction
+Exec = /usr/bin/chown -R lndhub:lndhub /var/lib/lndhub
+