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
|
rc-service x-ui start
|
||||||
else
|
else
|
||||||
if [ -f "x-ui.service" ]; then
|
if [ -f "x-ui.service" ]; then
|
||||||
cp -f x-ui.service /etc/systemd/system/
|
cp -f x-ui.service ${xui_service}/
|
||||||
else
|
else
|
||||||
case "${release}" in
|
case "${release}" in
|
||||||
ubuntu | debian | armbian)
|
ubuntu | debian | armbian)
|
||||||
|
|
|
||||||
|
|
@ -684,7 +684,7 @@ update_x-ui() {
|
||||||
else
|
else
|
||||||
if [ -f "x-ui.service" ]; then
|
if [ -f "x-ui.service" ]; then
|
||||||
echo -e "${green}Installing systemd unit...${plain}"
|
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
|
else
|
||||||
case "${release}" in
|
case "${release}" in
|
||||||
ubuntu | debian | armbian)
|
ubuntu | debian | armbian)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue