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:
pythonsudo supervisorctl start all
Stop:
pythonsudo supervisorctl stop all
Restart:
pythonsudo supervisorctl restart all
You can also start, stop, or restart nginx:
pythonsudo supervisorctl restart nginx
You can also start, stop, and restart all of the the Daphne processes:
pythonsudo supervisorctl restart asgi:*