Update init_cmd.py

pull/632/head
Mr Chen 6 months ago
parent 0f89246b17
commit 6114bcd9bc
  1. 2
      web/admin/setup/init_cmd.py

@ -39,8 +39,6 @@ def init_cmd():
initd_bin = '/etc/rc.d/init.d/mw'
shutil.copyfile(script_bin, initd_bin)
mw.execShell('chmod +x ' + initd_bin)
# 加入自启动
mw.execShell('which chkconfig && chkconfig --add mw')

Loading…
Cancel
Save