Commit Graph

23 Commits

Author SHA1 Message Date
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
世界
2012c0ca1e
Update release scripts 2023-03-31 14:31:35 +08:00
世界
09b001e795
Revert remove install shell 2023-03-27 08:20:55 +08:00
世界
84904c5206
Create working directory if not exists 2023-03-20 19:33:00 +08:00
Dmitry R
c919ad079a
systemd: Add reload command 2023-03-06 16:32:54 +08:00
世界
d8270a66f4
Update release script 2023-02-18 21:14:17 +08:00
Gavin Luo
4833f6d5db
Fix systemd service caps for process sniffing 2023-02-09 13:32:31 +08:00
世界
9db3cb5cb7
Update scripts 2023-02-09 13:27:05 +08:00
世界
66d8d563eb
Add WorkingDirectory for systemd service 2022-11-28 18:30:50 +08:00
世界
13ab5d3348
Remove follow in update script 2022-11-11 22:32:24 +08:00
世界
61c274045a
Update install go script 2022-11-08 23:19:53 +08:00
世界
39c141651a
Update documentation 2022-10-06 23:33:57 +08:00
世界
668d354771
Make gVisor optional 2022-09-15 12:24:08 +08:00
世界
07b6db23c1
Update install go script 2022-09-13 16:24:44 +08:00
世界
ef801cbfbe
Fix server install script 2022-09-01 20:32:47 +08:00
世界
9378fc88d2
Add with_wireguard to default server tag 2022-09-01 20:16:20 +08:00
世界
122daa4bfb
Simplify server installation 2022-08-28 00:23:41 +08:00
世界
eb0ef439d6
Add with_acme to server scripts 2022-08-19 17:48:56 +08:00
世界
44fcfab9aa
Improve build 2022-08-12 22:58:28 +08:00
世界
7b30815938
Enable QUIC in server scripts 2022-08-11 11:45:33 +08:00
世界
0eed0ca11a
Fix dns outbound 2022-07-31 08:48:56 +08:00
世界
2ce09b6ffd
Minor fixes 2022-07-30 14:50:33 +08:00
世界
9b9b5ebb72
Add linux server scripts 2022-07-30 09:04:01 +08:00