mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Clean comments
This commit is contained in:
parent
3f79999ba1
commit
19d976368e
1 changed files with 0 additions and 19 deletions
|
@ -32,15 +32,6 @@ get_configuration() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# set_path_2() {
|
|
||||||
# if [[ $path == '/' ]]
|
|
||||||
# then
|
|
||||||
# path2=$path
|
|
||||||
# else
|
|
||||||
# path2=$path"/"
|
|
||||||
# fi
|
|
||||||
# }
|
|
||||||
|
|
||||||
config_nginx() {
|
config_nginx() {
|
||||||
|
|
||||||
# In the 3.x seafile version package the seahub_port and fileserver_port wasn't saved in the settings. If the settings is empty we try to get it and save in the settings
|
# In the 3.x seafile version package the seahub_port and fileserver_port wasn't saved in the settings. If the settings is empty we try to get it and save in the settings
|
||||||
|
@ -54,16 +45,6 @@ config_nginx() {
|
||||||
ynh_app_setting_set $app fileserver_port $fileserver_port
|
ynh_app_setting_set $app fileserver_port $fileserver_port
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ynh_replace_string PATHTOCHANGE1 $path ../conf/nginx.conf
|
|
||||||
# ynh_replace_string PATHTOCHANGE2 $path2 ../conf/nginx.conf
|
|
||||||
# ynh_replace_string ALIASTOCHANGE $final_path/ ../conf/nginx.conf
|
|
||||||
# ynh_replace_string SEAHUB_PORT $seahub_port ../conf/nginx.conf
|
|
||||||
# ynh_replace_string SEAFILE_FILESERVER_PORT $fileserver_port ../conf/nginx.conf
|
|
||||||
# ynh_replace_string WEBDAV_PORT $webdav_port ../conf/nginx.conf
|
|
||||||
# cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/seafile.conf
|
|
||||||
#
|
|
||||||
# systemctl reload nginx.service
|
|
||||||
|
|
||||||
ynh_add_nginx_config 'seahub_port fileserver_port webdav_port'
|
ynh_add_nginx_config 'seahub_port fileserver_port webdav_port'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue