nprestart /bin/nprestart: line 1: service: command not found Restarting php-fpm (via systemctl) [ OK ] Please change service nginx restart to systemctl restart nginx as almalinux 9 doesn't support service. :)