From 351e4ba985b6ccb322f65aca77b14e3fa552b08c Mon Sep 17 00:00:00 2001 From: Boudewijn Date: Sat, 1 Mar 2025 09:40:53 +0100 Subject: [PATCH] remove systemd references, restart nginx/php-fpm --- manifest.toml | 1 + scripts/install | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 73aa7bc..c5d1434 100644 --- a/manifest.toml +++ b/manifest.toml @@ -67,6 +67,7 @@ ram.runtime = "100M" sha256 = "f92a6dc9c98ec1e3837939db571833d28e72b992f5a9611925e9d242fcb40f72" [resources.system_user] + #user = "__APP_NAME__:rwx" [resources.install_dir] group = "www-data:r-x" diff --git a/scripts/install b/scripts/install index 84e8310..512ee70 100755 --- a/scripts/install +++ b/scripts/install @@ -154,7 +154,8 @@ ynh_script_progression "Starting $app's systemd service..." ### - And the section "STOP SYSTEMD SERVICE" and "START SYSTEMD SERVICE" in the change_url script # Start a systemd service -ynh_systemctl --service="$app" --action="start" +ynh_systemctl --service="nginx" --action="reload" +ynh_systemctl --service="php__PHP_VERSION__-fpm" --action="reload" #================================================= # END OF SCRIPT