Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-08-08 21:31:49 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-08-08 21:31:49 +0300
commitf0775abc675d3ca4b5db8d3b41b3ed2fb701b6aa (patch)
tree0c342fb59bcdf7de6401e0e527877caf6716583a
parentd424b4bc32142130b9c134e97a87f479e7733758 (diff)
[install] stop service after download
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
-rw-r--r--install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 653fe979..e439fd95 100644
--- a/install.sh
+++ b/install.sh
@@ -104,7 +104,6 @@ config_after_install() {
}
install_x-ui() {
- systemctl stop x-ui
cd /usr/local/
if [ $# == 0 ]; then
@@ -131,6 +130,7 @@ install_x-ui() {
fi
if [[ -e /usr/local/x-ui/ ]]; then
+ systemctl stop x-ui
rm /usr/local/x-ui/ -rf
fi