mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update common.py
This commit is contained in:
@@ -68,6 +68,8 @@ def initInitD():
|
|||||||
import shutil
|
import shutil
|
||||||
shutil.copyfile(script_bin, initd_bin)
|
shutil.copyfile(script_bin, initd_bin)
|
||||||
public.execShell('chmod +x ' + initd_bin)
|
public.execShell('chmod +x ' + initd_bin)
|
||||||
|
#加入自启动
|
||||||
|
public.execShell('chkconfig --add mw')
|
||||||
|
|
||||||
|
|
||||||
def initUserInfo():
|
def initUserInfo():
|
||||||
|
|||||||
Reference in New Issue
Block a user