summarylogtreecommitdiffstats
path: root/omada-controller.hook
diff options
context:
space:
mode:
authorRichard Neumann2020-02-06 19:14:11 +0100
committerRichard Neumann2020-02-06 19:14:11 +0100
commita03a544403cdc4b10526fb106b276d1991d26c25 (patch)
tree9fe7fea94f9ca377bc04535b665c418b259f7557 /omada-controller.hook
downloadaur-a03a544403cdc4b10526fb106b276d1991d26c25.tar.gz
Init.
Diffstat (limited to 'omada-controller.hook')
-rw-r--r--omada-controller.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/omada-controller.hook b/omada-controller.hook
new file mode 100644
index 000000000000..f51830948495
--- /dev/null
+++ b/omada-controller.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = omada-controller
+
+[Action]
+Description = Updating ownership of omada controller directories...
+When = PostTransaction
+Exec = /usr/bin/chown -R omada.omada /var/lib/omada-controller