1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/collabora_ynh.git synced 2024-09-03 18:16:25 +02:00
This commit is contained in:
ericgaspar 2021-08-06 11:47:30 +02:00
parent d79c3798c9
commit 4081752f39
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 5 additions and 0 deletions

View file

@ -76,6 +76,7 @@ ynh_script_progression --message="Installing config file..." --weight=2
mkdir -p /etc/loolwsd
ynh_add_config --template="../conf/loolwsd.xml" --destination="/etc/loolwsd/loolwsd.xml"
chown lool: "/etc/loolwsd/loolwsd.xml"
chmod 640 "/etc/loolwsd/loolwsd.xml"
#=================================================
# INSTALL DEPENDENCIES

View file

@ -52,7 +52,9 @@ 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"
chmod 640 "/etc/loolwsd/loolwsd.xml"
#=================================================
# SPECIFIC RESTORATION

View file

@ -77,7 +77,9 @@ ynh_add_nginx_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"
chmod 640 "/etc/loolwsd/loolwsd.xml"
#=================================================
# UPGRADE DEPENDENCIES