Try execute install as seafile user

This commit is contained in:
Josué Tille 2021-07-22 23:16:02 +02:00
parent e2336a2774
commit 59e9ed6aee
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -104,7 +104,7 @@ ynh_script_progression --message="Configuring application..." --weight=3
# Run install script
mv_expect_scripts
chmod +x $final_path/seafile-server-$seafile_version/setup-seafile-mysql.sh
$expect_scripts_dir/install.exp "$final_path/seafile-server-$seafile_version" "$server_name" "$domain" "$fileserver_port" "$db_pwd"
sudo -u $seafile_user $expect_scripts_dir/install.exp "$final_path/seafile-server-$seafile_version" "$server_name" "$domain" "$fileserver_port" "$db_pwd"
sleep 3