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