mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-01-13 01:02:46 +00:00
fix
This commit is contained in:
parent
6c192b35f4
commit
094d8fb0a0
2 changed files with 2 additions and 2 deletions
|
|
@ -672,7 +672,7 @@ install_x-ui() {
|
|||
rc-service x-ui start
|
||||
else
|
||||
if [ -f "x-ui.service" ]; then
|
||||
cp -f x-ui.service /etc/systemd/system/
|
||||
cp -f x-ui.service ${xui_service}/
|
||||
else
|
||||
case "${release}" in
|
||||
ubuntu | debian | armbian)
|
||||
|
|
|
|||
|
|
@ -684,7 +684,7 @@ update_x-ui() {
|
|||
else
|
||||
if [ -f "x-ui.service" ]; then
|
||||
echo -e "${green}Installing systemd unit...${plain}"
|
||||
cp -f x-ui.service ${xui_service} >/dev/null 2>&1
|
||||
cp -f x-ui.service ${xui_service}/ >/dev/null 2>&1
|
||||
else
|
||||
case "${release}" in
|
||||
ubuntu | debian | armbian)
|
||||
|
|
|
|||
Loading…
Reference in a new issue