use network online target

pull/102/head
W 2023-12-21 17:25:48 +08:00
parent b8f249d384
commit f48b64d6d1
No known key found for this signature in database
GPG Key ID: CA4B4555280A26A5
1 changed files with 2 additions and 2 deletions

View File

@ -528,7 +528,7 @@ cat > /etc/systemd/system/xray.service << EOF
[Unit] [Unit]
Description=Xray Service Description=Xray Service
Documentation=https://github.com/xtls Documentation=https://github.com/xtls
After=network.target nss-lookup.target After=network-online.target nss-lookup.target
[Service] [Service]
${temp_UserSet} ${temp_UserSet}
@ -548,7 +548,7 @@ cat > /etc/systemd/system/xray@.service <<EOF
[Unit] [Unit]
Description=Xray Service Description=Xray Service
Documentation=https://github.com/xtls Documentation=https://github.com/xtls
After=network.target nss-lookup.target After=network-online.target nss-lookup.target
[Service] [Service]
${temp_UserSet} ${temp_UserSet}