sing-box/release/local
Noob Zhang 71b9e4ff17
Add network-online.target in .service files
This helps the daemon work better on IoT devices
like RaspberryPi.
According to systemd's documentation,
`network.target` means there has already been
a network manager started, but the network may
not be "up". On most PCs this does not matter
because the network will turn to "up" almost
immidiately. The IoT devices' network interface
may not be set up quickly enough, so they may
meet that the sing-box daemon is started before
network is ready, which results that sing-box
cannot find a working route. The workaround
of this is restarting sing-box daemon but it
absolutely is not the perfect solution.
As `network-online.target` must be triggered by
network manager after you configured it, I keep
`network.target` so there will be no change to
those who do not enabled proper trigger service
like `NetworkManager-wait-online.service`.

See also: https://systemd.io/NETWORK_ONLINE/
2024-01-16 05:50:07 +08:00
..
debug.sh Make gVisor optional 2022-09-15 12:24:08 +08:00
enable.sh Add linux server scripts 2022-07-30 09:04:01 +08:00
install_go.sh Update release scripts 2023-03-31 14:31:35 +08:00
install.sh Update release scripts 2023-03-31 14:31:35 +08:00
reinstall.sh Remove follow in update script 2022-11-11 22:32:24 +08:00
sing-box.service Add network-online.target in .service files 2024-01-16 05:50:07 +08:00
uninstall.sh Update scripts 2023-02-09 13:27:05 +08:00
update.sh Enable QUIC in server scripts 2022-08-11 11:45:33 +08:00