|
|
@ -176,7 +176,7 @@ def initDreplace(version=''): |
|
|
|
mw.writeFile(mysql_conf, content) |
|
|
|
mw.writeFile(mysql_conf, content) |
|
|
|
|
|
|
|
|
|
|
|
# systemd |
|
|
|
# systemd |
|
|
|
systemDir = '/lib/systemd/system' |
|
|
|
systemDir = '/usr/lib/systemd/system' |
|
|
|
systemService = systemDir + '/mysql.service' |
|
|
|
systemService = systemDir + '/mysql.service' |
|
|
|
systemServiceTpl = getPluginDir() + '/init.d/mysql.service.tpl' |
|
|
|
systemServiceTpl = getPluginDir() + '/init.d/mysql.service.tpl' |
|
|
|
if os.path.exists(systemDir) and not os.path.exists(systemService): |
|
|
|
if os.path.exists(systemDir) and not os.path.exists(systemService): |
|
|
|