From aa79d9766dccad173f138e3ebea60fc4df0286da Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 17 Sep 2020 19:00:03 +0200 Subject: [PATCH] Update install --- scripts/install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 3105f8c..6991103 100644 --- a/scripts/install +++ b/scripts/install @@ -205,8 +205,7 @@ php"${phpversion}" daemon.php config --username=$admin --password=$password chown -R $app:www-data $final_path #chmod u+rwx $final_path -chown $app $final_path/src/Movim/Bootstrap.php -chown $app $final_path/src/Movim/Daemon/Core.php +chown -R $app $final_path/src/Movim/ #================================================= # INTEGRATE SERVICE IN YUNOHOST @@ -223,7 +222,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2 # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #--line_match="HTTP Server listening" - #================================================= # SETUP SSOWAT #================================================= @@ -241,7 +239,7 @@ ynh_script_progression --message="Configuring SSOwat..." --weight=1 # SSOwat configuration if [[ "$ssoenabled" = "No" ]]; then ynh_app_setting_set "$app" skipped_uris "/" - (cd "$final_path" && php mud.php config --xmppwhitelist="$domain") + (cd "$final_path" && php"${phpversion}" mud.php config --xmppwhitelist="$domain") undo_sso_patch else ynh_app_setting_set "$app" unprotected_uris "/"