This commit is contained in:
2026-05-15 21:00:42 +07:00
parent 50262fdd4c
commit 9c84cfcb4f
+16 -16
View File
@@ -1,17 +1,17 @@
#!/bin/bash #!/bin/bash
# Dừng service # Dừng service
echo "Đang dừng cliproxyapi.service..." echo "Đang dừng cliproxyapi.service..."
systemctl --user stop cliproxyapi.service systemctl --user stop cliproxyapi.service
# Kiểm tra file install.sh có tồn tại không # Kiểm tra file install.sh có tồn tại không
if [ -f "install.sh" ]; then if [ -f "install.sh" ]; then
echo "Tìm thấy install.sh, đang chạy..." echo "Tìm thấy install.sh, đang chạy..."
chmod +x install.sh # Đảm bảo quyền thực thi chmod +x install.sh # Đảm bảo quyền thực thi
./install.sh ./install.sh
else else
echo "Lỗi: Không tìm thấy file install.sh trong thư mục hiện tại" echo "Lỗi: Không tìm thấy file install.sh trong thư mục hiện tại"
exit 1 exit 1
fi fi
echo "Hoàn thành." echo "Hoàn thành."