mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix conflict between fileserver and webdav port
This commit is contained in:
parent
d4be0d561e
commit
b537e0fe26
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,10 @@ seahub_port=$(ynh_find_port --port 8000)
|
|||
fileserver_port=$(ynh_find_port --port 8082)
|
||||
webdav_port=$(ynh_find_port --port 8080)
|
||||
|
||||
if [ $fileserver_port -eq $webdav_port ]; then
|
||||
webdav_port=$(ynh_find_port --port $((fileserver_port + 1)))
|
||||
fi
|
||||
|
||||
# store config in yunohost
|
||||
ynh_script_progression --message="Storing installation settings..."
|
||||
ynh_app_setting_set --app $app --key server_name --value "$server_name"
|
||||
|
|
Loading…
Reference in a new issue