Start the Server

Last Updated: September 2022

The Tethys Portal production deployment uses NGINX and Daphne servers. Rather than manage these processes individually, you should use the supervisorctl command to perform start, stop, and restart operations:

Start:

default
sudo supervisorctl start all

Stop:

default
sudo supervisorctl stop all

Restart:

default
sudo supervisorctl restart all

You can also start, stop, or restart nginx:

default
sudo supervisorctl restart nginx

You can also start, stop, and restart all of the the Daphne processes:

default
sudo supervisorctl restart asgi:*