From e5ec7421745ab12efb78587ca1923a3924ed5024 Mon Sep 17 00:00:00 2001 From: SolAZDev Date: Tue, 5 Sep 2023 00:01:59 -0400 Subject: [PATCH] removed php references --- conf/nginx.conf | 1 - manifest.toml | 1 - scripts/restore | 8 -------- 3 files changed, 10 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 50f330e..fa9073f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,7 +6,6 @@ location __PATH__/ { proxy_pass http://localhost:8765; proxy_set_header Host $http_host; more_set_headers "X-Frame-Options: ALLOWALL"; -### End of PHP configuration part # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; diff --git a/manifest.toml b/manifest.toml index 1fe5f37..09d2335 100644 --- a/manifest.toml +++ b/manifest.toml @@ -102,5 +102,4 @@ ram.runtime = "50M" [resources.apt] # This will automatically install/uninstall the following apt packages - # and implicitly define the $phpversion setting as 8.0 (if phpX.Y-foobar dependencies are listed) packages = "ca-certificates curl python3 python3-dev libcurl4-openssl-dev gcc libssl-dev ffmpeg v4l-utils libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev libffi-dev libzbar-dev libzbar0" diff --git a/scripts/restore b/scripts/restore index 2719291..d1f98ee 100755 --- a/scripts/restore +++ b/scripts/restore @@ -35,14 +35,10 @@ chown -R $app:www-data "$data_dir" #================================================= # RESTORE SYSTEM CONFIGURATIONS #================================================= -# RESTORE THE PHP-FPM CONFIGURATION -#================================================= ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1 # This should be a symetric version of what happens in the install script -ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" - ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/systemd/system/$app.service" @@ -64,13 +60,9 @@ ynh_restore_file --origin_path="/etc/$app/" #================================================= # GENERIC FINALIZATION #================================================= -# RELOAD NGINX AND PHP-FPM OR THE APP SERVICE -#================================================= ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 -# Typically you only have either $app or php-fpm but not both at the same time... ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" -ynh_systemd_action --service_name=php$phpversion-fpm --action=reload ynh_systemd_action --service_name=nginx --action=reload