Update common.py

pull/267/head
midoks 3 years ago
parent 22af57840e
commit 6c4f69e2c7
  1. 2
      class/core/common.py

@ -59,7 +59,7 @@ def initInitD():
# systemctl
sysCfgDir = mw.systemdCfgDir()
if os.path.exists(sysCfgDir) and mw.getOs() == 'centos' and mw.getOsID() == '9':
if os.path.exists(sysCfgDir) and mw.getOsName() == 'centos' and mw.getOsID() == '9':
systemd_mw = sysCfgDir + '/mw.service'
systemd_mw_task = sysCfgDir + '/mw-task.service'

Loading…
Cancel
Save