From 6993d674ab300b06c302bd4c9a8e103f9cfac6ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 1 Nov 2022 07:12:00 +0100 Subject: [PATCH] Fix install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 0aabce2..5b53b1d 100644 --- a/scripts/install +++ b/scripts/install @@ -102,7 +102,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