summarylogtreecommitdiffstats
path: root/omada-controller.hook
diff options
context:
space:
mode:
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