mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
Update init_cmd.py
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user