system位置更改

This commit is contained in:
midoks
2022-07-03 22:22:03 +08:00
parent 0d3a829b6d
commit eec656c278
10 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ def initDreplace(version=''):
mw.writeFile(mysql_conf, content)
# systemd
systemDir = '/lib/systemd/system'
systemDir = '/usr/lib/systemd/system'
systemService = systemDir + '/mysql.service'
systemServiceTpl = getPluginDir() + '/init.d/mysql.service.tpl'
if os.path.exists(systemDir) and not os.path.exists(systemService):