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:

sudo supervisorctl start all

Stop:

sudo supervisorctl stop all

Restart:

sudo supervisorctl restart all

You can also start, stop, or restart nginx:

sudo supervisorctl restart nginx

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

sudo supervisorctl restart asgi:*