Update mw.tpl

pull/483/head
midoks 2 years ago
parent f65a8a24e0
commit 90d0d3ba72
  1. 7
      scripts/init.d/mw.tpl

@ -393,6 +393,12 @@ mw_venv(){
cd /www/server/mdserver-web && source bin/activate cd /www/server/mdserver-web && source bin/activate
} }
mw_clean_lib(){
cd /www/server/mdserver-web && rm -rf lib
cd /www/server/mdserver-web && rm -rf lib64
cd /www/server/mdserver-web && rm -rf bin
}
case "$1" in case "$1" in
'start') mw_start;; 'start') mw_start;;
'stop') mw_stop;; 'stop') mw_stop;;
@ -419,6 +425,7 @@ case "$1" in
'mirror') mw_mirror;; 'mirror') mw_mirror;;
'db') mw_connect_mysql;; 'db') mw_connect_mysql;;
'venv') mw_venv;; 'venv') mw_venv;;
'clean_lib') mw_clean_lib;;
'default') 'default')
cd $mw_path cd $mw_path
port=7200 port=7200

Loading…
Cancel
Save