mirror of https://github.com/XTLS/Xray-install
use network online target
parent
b8f249d384
commit
f48b64d6d1
|
@ -528,7 +528,7 @@ cat > /etc/systemd/system/xray.service << EOF
|
|||
[Unit]
|
||||
Description=Xray Service
|
||||
Documentation=https://github.com/xtls
|
||||
After=network.target nss-lookup.target
|
||||
After=network-online.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
${temp_UserSet}
|
||||
|
@ -548,7 +548,7 @@ cat > /etc/systemd/system/xray@.service <<EOF
|
|||
[Unit]
|
||||
Description=Xray Service
|
||||
Documentation=https://github.com/xtls
|
||||
After=network.target nss-lookup.target
|
||||
After=network-online.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
${temp_UserSet}
|
||||
|
|
Loading…
Reference in New Issue