Commit Graph

11 Commits

Author SHA1 Message Date
世界
e7433fe893 Add completions for linux packages 2024-10-07 04:34:48 +08:00
Noob Zhang
e4f3c83769 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
世界
9ecea8876d Update release scripts 2023-03-31 14:31:35 +08:00
世界
d45663a022 Revert remove install shell 2023-03-27 08:20:55 +08:00
世界
f8f6e22b9a Create working directory if not exists 2023-03-20 19:33:00 +08:00
Dmitry R
4590a7fde8 systemd: Add reload command 2023-03-06 16:32:54 +08:00
Gavin Luo
6b40e5f9a8 Fix systemd service caps for process sniffing 2023-02-09 13:32:31 +08:00
世界
50a367f1c5 Update scripts 2023-02-09 13:27:05 +08:00
世界
1da29ceea2 Fix linux package 2022-12-11 11:51:25 +08:00
世界
f8c6b7b36e Add WorkingDirectory for systemd service 2022-11-28 18:30:50 +08:00
世界
c1dad92914 Improve build 2022-08-12 22:58:28 +08:00