mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
up
This commit is contained in:
@@ -174,7 +174,7 @@ def initDreplace(version=''):
|
||||
# systemd
|
||||
systemDir = mw.systemdCfgDir()
|
||||
systemService = systemDir + '/mysql-yum.service'
|
||||
systemServiceTpl = getPluginDir() + '/init.d/mysql.service.tpl'
|
||||
systemServiceTpl = getPluginDir() + '/init.d/mysql' + version + '.service.tpl'
|
||||
if os.path.exists(systemDir) and not os.path.exists(systemService):
|
||||
service_path = mw.getServerDir()
|
||||
se_content = mw.readFile(systemServiceTpl)
|
||||
|
||||
Reference in New Issue
Block a user