summarylogtreecommitdiffstats
path: root/odoo.install
diff options
context:
space:
mode:
authorSebastiaan Lokhorst2018-05-10 18:10:39 +0200
committerSebastiaan Lokhorst2018-05-24 13:36:38 +0200
commit0ba21ff7744b6b40266c4683929007b8a183d1c2 (patch)
tree124027bf7f230d4d6463a03325e3af57c7957521 /odoo.install
parent929c852db9d42afd47f67e4714d34ea50dfcbdf0 (diff)
downloadaur-0ba21ff7744b6b40266c4683929007b8a183d1c2.tar.gz
Use systemd-sysusers for user management
Don't explicitly depend on postgresql-libs: is a dependency of psycopg2
Diffstat (limited to 'odoo.install')
-rw-r--r--odoo.install20
1 files changed, 0 insertions, 20 deletions
diff --git a/odoo.install b/odoo.install
deleted file mode 100644
index 7aa74107c43..00000000000
--- a/odoo.install
+++ /dev/null
@@ -1,20 +0,0 @@
-pre_install() {
- if [ ! `grep odoo /etc/group` ]; then
- groupadd odoo &>/dev/null;
- fi
- id odoo &>/dev/null || useradd -r -m -g odoo -d /var/lib/odoo odoo
-}
-
-post_install() {
- systemctl --system daemon-reload
-}
-
-post_upgrade() {
- systemctl --system daemon-reload
-}
-
-post_remove() {
- userdel odoo &> /dev/null
- groupdel odoo &> /dev/null
- systemctl --system daemon-reload
-}