1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/streama_ynh.git synced 2024-09-03 20:26:30 +02:00

Update upgrade

This commit is contained in:
liberodark 2020-05-29 14:06:41 +02:00 committed by GitHub
parent 5516157ecd
commit 62199b0b76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,10 +38,10 @@ ynh_add_nginx_config
#================================================= #=================================================
# UPGRADE CONFIG # UPGRADE CONFIG
#================================================= #=================================================
cp -a ../conf/loolwsd.xml /etc/loolwsd #cp -a ../conf/loolwsd.xml /etc/loolwsd
ynh_replace_string "__NEXTCLOUDDOMAIN__" "$nextcloud_domain" "/etc/loolwsd/loolwsd.xml" #ynh_replace_string "__NEXTCLOUDDOMAIN__" "$nextcloud_domain" "/etc/loolwsd/loolwsd.xml"
ynh_replace_string "__PASSWORD__" "$password" "/etc/loolwsd/loolwsd.xml" #ynh_replace_string "__PASSWORD__" "$password" "/etc/loolwsd/loolwsd.xml"
systemctl restart loolwsd #systemctl restart loolwsd
@ -53,5 +53,3 @@ fi
# Reload nginx service # Reload nginx service
systemctl restart nginx systemctl restart nginx
systemctl restart loolwsd