Differences

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

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cloudlinux:enable_ruby_python_selector [2019/11/28 15:41]
George Wang [Steps to Enable Python and Ruby Selector]
litespeed_wiki:cloudlinux:enable_ruby_python_selector [2019/11/29 16:08] (current)
Lisa Clarke [Restart Python and Ruby Application] Copyediting
Line 15: Line 15:
   - Run script to install required ruby/python lsapi modules: <​code>/​usr/​local/​lsws/​admin/​misc/​enable_ruby_python_selector.sh</​code>​   - Run script to install required ruby/python lsapi modules: <​code>/​usr/​local/​lsws/​admin/​misc/​enable_ruby_python_selector.sh</​code>​
   - Switch to LiteSpeed and try a ruby/python app   - Switch to LiteSpeed and try a ruby/python app
-===== Restart Python and Ruby Application ===== +===== Restart ​the Python and Ruby Application ===== 
-Python and Ruby application can be restarted by touching ​file <​code>​<​app_root_dir>/​tmp/​restart.txt</​code>​+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 <​code>​/​home/​user1/​mypythonapp</​code>, ​command <​code>​touch /​home/​user1/​mypythonapp/​tmp/​restart.txt</​code>​ will make server to restart the application.+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>​ 
 + 
 +This will tell the server to restart the application.
  
  
  • Admin
  • Last modified: 2019/11/29 16:08
  • by Lisa Clarke