Announcement

Collapse
No announcement yet.

How to restart Passenger WSGI (Python) from command line ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to restart Passenger WSGI (Python) from command line ?

    Hello,

    I was able to install and run a Django web application on cPanel with the Python app support.
    Id like to know how can I restart the Passenger WSGI process from command line ?

    Use Case:

    I deploy the Python application code via CI and after each code upload the WSGI needs to be restarted. The current implementation only shows a "Restart" feature of the app within the cPanel Python interface.

  • #2
    Hello,

    You can restart application with the following command:

    selectorctl --interpreter ruby --user usernaem --domain domain.com --restart-webapp testapp

    Comment

    Working...
    X