pull/123/head
midoks 3 years ago
parent 95d13166cc
commit 717b7c7910
  1. 2
      plugins/mysql-apt/index.py
  2. 2
      plugins/mysql-yum/index.py

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

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

Loading…
Cancel
Save