Update init_cmd.py

This commit is contained in:
Mr Chen 2024-12-02 16:25:55 +08:00
parent 8f1a89f978
commit e1ef876db1
1 changed files with 2 additions and 2 deletions

View File

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