Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
litespeed_wiki:cloudlinux:enable_ruby_python_selector [2019/11/29 16:08]
Lisa Clarke [Restart Python and Ruby Application] Copyediting
litespeed_wiki:cloudlinux:enable_ruby_python_selector [2021/08/20 20:26]
Jackson Zhang [Restart the Python and Ruby Application]
Line 16: Line 16:
   - Switch to LiteSpeed and try a ruby/python app   - Switch to LiteSpeed and try a ruby/python app
 ===== Restart the Python and Ruby Application ===== ===== Restart the Python and Ruby Application =====
 +==== Through ''​touch tmp/​restart.txt''​ ====
 The Python and Ruby application can be restarted by touching the ''<​app_root_dir>/​tmp/​restart.txt''​ file. The Python and Ruby application can be restarted by touching the ''<​app_root_dir>/​tmp/​restart.txt''​ file.
 For example, if a python application is located at ''/​home/​user1/​mypythonapp''​ the command would be:  For example, if a python application is located at ''/​home/​user1/​mypythonapp''​ the command would be: 
  
 <​code>​touch /​home/​user1/​mypythonapp/​tmp/​restart.txt</​code>​ <​code>​touch /​home/​user1/​mypythonapp/​tmp/​restart.txt</​code>​
 +
 +If /​home/​user1/​mypythonapp/​tmp/​restart.txt exits already, you will still need to "​touch"​ it. 
  
 This will tell the server to restart the application. This will tell the server to restart the application.
  
 +==== Through CloudLinux Python application manager ====
 +If you run cpanel and CloudLinux Python application manager, you can restart the Python application there.
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
  • Admin
  • Last modified: 2023/03/25 13:24
  • by Lisa Clarke