Skip to content

Commit fb95f62

Browse files
committed
revert: 取消對web的操作
1 parent d8c893f commit fb95f62

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

daemon/setup.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

daemon/setup_cn.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)