mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix install
This commit is contained in:
parent
d283c566e4
commit
ad182b52b7
1 changed files with 5 additions and 2 deletions
|
@ -53,17 +53,20 @@ ynh_script_progression --message="Configuring application..." --weight=3
|
||||||
|
|
||||||
# Run install script
|
# Run install script
|
||||||
set_permission
|
set_permission
|
||||||
|
ynh_replace_special_string --match_string 'seafile_config.seafile_dir = seafile_config.validate_seafile_dir(seafile_dir)' \
|
||||||
|
--replace_string 'seafile_config.seafile_dir = seafile_dir' \
|
||||||
|
--target_file $install_dir/seafile-server-$seafile_version/setup-seafile-mysql.py
|
||||||
sudo -u $YNH_APP_ID bash $install_dir/seafile-server-$seafile_version/setup-seafile-mysql.sh auto \
|
sudo -u $YNH_APP_ID bash $install_dir/seafile-server-$seafile_version/setup-seafile-mysql.sh auto \
|
||||||
--server-name "$server_name" \
|
--server-name "$server_name" \
|
||||||
--server-ip $domain \
|
--server-ip $domain \
|
||||||
--fileserver-port $port_fileserver \
|
--fileserver-port $port_fileserver \
|
||||||
--use-existing-db 0 \
|
--use-existing-db 1 \
|
||||||
--mysql-host localhost \
|
--mysql-host localhost \
|
||||||
--mysql-port 3306 \
|
--mysql-port 3306 \
|
||||||
--mysql-user $db_user \
|
--mysql-user $db_user \
|
||||||
--mysql-user-passwd "$db_pwd" \
|
--mysql-user-passwd "$db_pwd" \
|
||||||
--seafile-db "$db_name" \
|
--seafile-db "$db_name" \
|
||||||
--seafile-db ccnetdb \
|
--ccnet-db ccnetdb \
|
||||||
--seahub-db seahubdb
|
--seahub-db seahubdb
|
||||||
|
|
||||||
# Retrive values from auto generated config file
|
# Retrive values from auto generated config file
|
||||||
|
|
Loading…
Reference in a new issue