/go/web restarts or reloads the web server that GoAdmio is running, so you don't need to know whether the server uses Nginx or Apache, or what the service is called on your operating system. It handles the web server only. To restart PHP-FPM too, use restart or reload. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Restart the web server
/go/web
Options
| Argument | Required | Default | Notes |
|---|---|---|---|
reload |
No | Restart | Reloads instead of restarting. Any argument that contains the word reload counts. |
Examples
# Restart the web server
/go/web
# Reload the configuration without interrupting visitors
/go/web reload
# See which web server GoAdmio is using
cat /usr/local/goadmio/linux/ws.db
# Check that the web server is running (use httpd or apache2 for Apache)
systemctl status nginx
Output
The command prints nothing when it works. If systemctl can’t restart or reload the service, you see its error message.
The command does not test the configuration first, and it prints no message of its own. On an unsupported operating system it silently does nothing.
Log
Each run appends one line to /var/log/go/web.log:
[Nov 21 12:00:00]# web reload
See the full reference at /go/web 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.
