mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Use symbolic link for seafile_data path
This commit is contained in:
parent
6e2975f454
commit
d9d25f57e7
1 changed files with 1 additions and 1 deletions
|
@ -72,6 +72,7 @@ mkdir -p $final_path
|
|||
mkdir -p $final_path/installed
|
||||
mkdir -p $final_path/logs
|
||||
mkdir -p $seafile_data
|
||||
ln -s $seafile_data $final_path/seafile_data
|
||||
|
||||
# Create User
|
||||
ynh_script_progression --message="Configuring system user..."
|
||||
|
@ -98,7 +99,6 @@ ynh_script_progression --message="Configuring application..." --weight=3
|
|||
chmod +x expect_scripts/install.exp
|
||||
chmod +x $final_path/seafile-server-$seafile_version/setup-seafile-mysql.sh
|
||||
expect_scripts/install.exp "$final_path/seafile-server-$seafile_version" "$server_name" "$domain" "$seafile_data" "$fileserver_port" "$db_pwd"
|
||||
echo $seafile_data > $final_path/ccnet/seafile.ini
|
||||
|
||||
# Update seafile config
|
||||
ynh_replace_string --match_string http:// --replace_string https:// --target_file $final_path/conf/ccnet.conf
|
||||
|
|
Loading…
Reference in a new issue