reload with the /go/reload Command

/go/reload asks PHP-FPM and the web server to reload their configuration without dropping connections — a graceful reload (systemctl reload), not a restart. It reloads every installed PHP-FPM version, then the web server currently in use (Nginx or Apache/httpd). The call is appended to /var/log/go/reload.log. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

/go/reload

Options

None.

Examples

# After editing a vhost or php.ini by hand
/go/reload

# Check a service's status if something seems off afterward
systemctl status nginx
systemctl status php8.3-php-fpm # RHEL family naming
systemctl status php8.3-fpm # Debian/Ubuntu naming

Output

The command prints nothing on success. If a systemctl reload call fails (for example, a web server config error), systemctl‘s own error goes to the terminal, but the script continues to the next reload regardless.

See the full reference at /go/reload and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *