File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ Install_MCSManager() {
8181 systemctl disable --now mcsm-{web,daemon}
8282
8383 # delete service
84- rm -rf /etc/systemd/system/mcsm-{ daemon,web} .service
84+ rm -rf /etc/systemd/system/mcsm-daemon.service
8585 systemctl daemon-reload
8686
8787 mkdir -p " ${mcsmanager_install_path} " || Red_Error " [x] Failed to create ${mcsmanager_install_path} "
@@ -100,8 +100,6 @@ Install_MCSManager() {
100100 rm -rf /opt/mcsmanager/mcsmanager
101101 fi
102102
103- rm -rf " ${mcsmanager_install_path} /web"
104-
105103 # echo "[→] cd daemon"
106104 cd " ${mcsmanager_install_path} /daemon" || Red_Error " [x] Failed to enter ${mcsmanager_install_path} /daemon"
107105
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ Install_MCSManager() {
8282 systemctl disable --now mcsm-{web,daemon}
8383
8484 # delete service
85- rm -rf /etc/systemd/system/mcsm-{ daemon,web} .service
85+ rm -rf /etc/systemd/system/mcsm-daemon.service
8686 systemctl daemon-reload
8787
8888 mkdir -p " ${mcsmanager_install_path} " || Red_Error " [x] Failed to create ${mcsmanager_install_path} "
@@ -101,8 +101,6 @@ Install_MCSManager() {
101101 rm -rf /opt/mcsmanager/mcsmanager
102102 fi
103103
104- rm -rf " ${mcsmanager_install_path} /web"
105-
106104 # echo "[→] cd daemon"
107105 cd " ${mcsmanager_install_path} /daemon" || Red_Error " [x] Failed to enter ${mcsmanager_install_path} /daemon"
108106
You can’t perform that action at this time.
0 commit comments