Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and Other Control Panels
  1. Alireza
  2. Sunday, September 10, 2017
  3.  Subscribe via email
Hello,

I was able to install and run a Django web application on cPanel with the Python app support.
I'd 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.
Rate this post:
  1. 11.09.2017 09:09:28
  2. # 1
Vladimir Accepted Answer
Posts: 80
Joined: 04.07.2017
0
Votes
Undo
Hello,

You can restart application with the following command:

selectorctl --interpreter ruby --user usernaem --domain domain.com --restart-webapp testapp
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Remove Upload Files (Maximum File Size: 2 MB)
You may insert polls into your post. The poll would then appear in the post.
Vote Options
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.