Skip to content

Commit

Permalink
[install] stop service after download
Browse files Browse the repository at this point in the history
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
  • Loading branch information
MHSanaei and alireza0 committed Aug 8, 2023
1 parent d424b4b commit f0775ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ config_after_install() {
}

install_x-ui() {
systemctl stop x-ui
cd /usr/local/

if [ $# == 0 ]; then
Expand All @@ -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

Expand Down

0 comments on commit f0775ab

Please sign in to comment.