remove systemd references, restart nginx/php-fpm

This commit is contained in:
Boudewijn 2025-03-01 09:40:53 +01:00
parent 6266f4ab30
commit 351e4ba985
2 changed files with 3 additions and 1 deletions

View file

@ -67,6 +67,7 @@ ram.runtime = "100M"
sha256 = "f92a6dc9c98ec1e3837939db571833d28e72b992f5a9611925e9d242fcb40f72"
[resources.system_user]
#user = "__APP_NAME__:rwx"
[resources.install_dir]
group = "www-data:r-x"

View file

@ -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