mirror of
https://github.com/YunoHost-Apps/collabora_ynh.git
synced 2024-09-03 18:16:25 +02:00
Update install
This commit is contained in:
parent
520baa1e37
commit
2c80a98f40
1 changed files with 2 additions and 3 deletions
|
@ -22,9 +22,8 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
|
|
||||||
# Source YunoHost helpers
|
# Source YunoHost helpers
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
source _common.sh
|
||||||
|
|
||||||
# Define variables
|
|
||||||
$src_path=/var/www/$app
|
|
||||||
|
|
||||||
# Save app settings
|
# Save app settings
|
||||||
ynh_app_setting_set "$app" is_public "$is_public"
|
ynh_app_setting_set "$app" is_public "$is_public"
|
||||||
|
@ -59,7 +58,7 @@ sudo apt-get install -yy loolwsd code-brand
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
nginx_conf=../conf/nginx.conf
|
nginx_conf=../conf/nginx.conf
|
||||||
# sed -i "s@YNH_WWW_PATH@$path_url@g" $nginx_conf
|
# sed -i "s@YNH_WWW_PATH@$path_url@g" $nginx_conf
|
||||||
sed -i "s@YNH_WWW_ALIAS@$src_path/@g" $nginx_conf
|
sed -i "s@YNH_WWW_ALIAS@$final_path/@g" $nginx_conf
|
||||||
# If a dedicated php-fpm process is used:
|
# If a dedicated php-fpm process is used:
|
||||||
# Don't forget to modify ../conf/nginx.conf accordingly or your app will not work!
|
# Don't forget to modify ../conf/nginx.conf accordingly or your app will not work!
|
||||||
# sed -i "s@YNH_WWW_APP@$app@g" $nginx_conf
|
# sed -i "s@YNH_WWW_APP@$app@g" $nginx_conf
|
||||||
|
|
Loading…
Reference in a new issue