diff --git a/scripts/install b/scripts/install index c10b7be..268a041 100644 --- a/scripts/install +++ b/scripts/install @@ -67,6 +67,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= # CONFIGURE ONLYOFFICE #================================================= +ynh_script_progression --message="Installing config file..." --weight=2 # Turns out we need to create/copy this file BEFORE the actual .deb install, # otherwise stupid collabora will expect to find a certificate file in its own @@ -74,6 +75,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port # because we're in a reverse proxy context... mkdir -p /etc/loolwsd ynh_add_config --template="../conf/loolwsd.xml" --destination="/etc/loolwsd/loolwsd.xml" +chown lool: "/etc/loolwsd/loolwsd.xml" #================================================= # INSTALL DEPENDENCIES diff --git a/scripts/restore b/scripts/restore index aee7195..3f17ffa 100644 --- a/scripts/restore +++ b/scripts/restore @@ -52,6 +52,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_script_progression --message="Restoring the configuration..." --weight=3 ynh_restore_file --origin_path="/etc/loolwsd/loolwsd.xml" +chown lool: "/etc/loolwsd/loolwsd.xml" #================================================= # SPECIFIC RESTORATION diff --git a/scripts/upgrade b/scripts/upgrade index cf43bf1..01232fd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -74,8 +74,10 @@ ynh_add_nginx_config #================================================= # UPGRADE CONFIG #================================================= +ynh_script_progression --message="Upgrading config file..." --weight=2 ynh_add_config --template="../conf/loolwsd.xml" --destination="/etc/loolwsd/loolwsd.xml" +chown lool: "/etc/loolwsd/loolwsd.xml" #================================================= # UPGRADE DEPENDENCIES