mirror of
https://github.com/YunoHost-Apps/collabora_ynh.git
synced 2024-09-03 18:16:25 +02:00
Fix
This commit is contained in:
parent
d79c3798c9
commit
4081752f39
3 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue