Update init_cmd.py

pull/632/head
Mr Chen 5 months ago
parent 8f1a89f978
commit e1ef876db1
  1. 4
      web/admin/setup/init_cmd.py

@ -74,8 +74,8 @@ def init_cmd_systemd():
if os.path.exists(systemd_mw_task): if os.path.exists(systemd_mw_task):
os.remove(systemd_mw_task) os.remove(systemd_mw_task)
doContentReplace(systemd_mw_tpl, systemd_mw) contentReplace(systemd_mw_tpl, systemd_mw)
doContentReplace(systemd_mw_task_tpl, systemd_mw_task) contentReplace(systemd_mw_task_tpl, systemd_mw_task)
mw.execShell('systemctl enable mw') mw.execShell('systemctl enable mw')
mw.execShell('systemctl enable mw-task') mw.execShell('systemctl enable mw-task')

Loading…
Cancel
Save