Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:cloudlinux:enable_ruby_python_selector [2019/08/14 20:57] Jackson Zhang [How to Enable CloudLinux Python and Ruby Selector (alt-mod_passenger) for LSWS] |
litespeed_wiki:cloudlinux:enable_ruby_python_selector [2019/11/28 15:41] George Wang [Steps to Enable Python and Ruby Selector] |
||
---|---|---|---|
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 ===== | ||
+ | Python and Ruby application can be restarted by touching file <code><app_root_dir>/tmp/restart.txt</code>. | ||
+ | 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. | ||
+ | |||
===== Troubleshooting ===== | ===== Troubleshooting ===== |