From 7e831470373caacbabac78e2e70c83e50fa67322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 17 Jan 2024 15:40:10 +0100 Subject: [PATCH] Oops, fix restore --- scripts/restore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index 60747fc..523eca5 100755 --- a/scripts/restore +++ b/scripts/restore @@ -49,13 +49,11 @@ yunohost service add "$app" --description="$app whiteboard" --log="/var/log/$app ynh_restore_file --origin_path="/etc/logrotate.d/$app" #================================================= -# RELOAD NGINX AND PHP-FPM OR THE APP SERVICE +# RELOAD NGINX AND 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