mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
Merge branch 'master' of https://github.com/zamentur/odoo_ynh
This commit is contained in:
commit
ef6648ff1b
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ define_dbpass restore
|
||||||
function restore_files () {
|
function restore_files () {
|
||||||
if [ "$is_master" = true ]; then
|
if [ "$is_master" = true ]; then
|
||||||
ynh_restore
|
ynh_restore
|
||||||
|
chown -R odoo:odoo /var/lib/odoo/
|
||||||
|
chown postgres:postgres /etc/postgresql/9.4/main/pg_hba.conf
|
||||||
else
|
else
|
||||||
# If odoo is already setup we just restore nginx and add some missing
|
# If odoo is already setup we just restore nginx and add some missing
|
||||||
# modules. Other files are already on system, and we don't want to
|
# modules. Other files are already on system, and we don't want to
|
||||||
|
|
Loading…
Reference in a new issue