summarylogtreecommitdiffstats
path: root/odoo.install
diff options
context:
space:
mode:
authorSebastiaan Lokhorst2018-06-05 18:35:24 +0200
committerSebastiaan Lokhorst2018-06-05 18:35:24 +0200
commitea396d52839195991b2ee4082ee89eafdc87c44e (patch)
tree63cc208205a3105a97fc715d9ec1bb55494cc785 /odoo.install
parentd0633965f3a14e2f0e71a4e1d82fa9fc0b2bf48b (diff)
downloadaur-ea396d52839195991b2ee4082ee89eafdc87c44e.tar.gz
Fix permissions of /var/lib/odoo
Diffstat (limited to 'odoo.install')
-rw-r--r--odoo.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/odoo.install b/odoo.install
new file mode 100644
index 00000000000..b1d7c241844
--- /dev/null
+++ b/odoo.install
@@ -0,0 +1,5 @@
+post_upgrade() {
+ # TODO: handle this nicer with systemd-sysusers
+ mkdir -p /var/lib/odoo
+ chown -R odoo:odoo /var/lib/odoo
+}