mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-16 18:54:02 +00:00
Run systemd service after network is available (unit file fix)
There is a race condition between shadowsocks-libev.service and systemd-resolved.service after reboot/on boot. The shadowsocks service tries to start before the dns service is started properly and fails showing the corresponding errors in the logs.
This commit is contained in:
Vendored
+1
@@ -12,6 +12,7 @@
|
||||
Description=Shadowsocks-libev Default Server Service
|
||||
Documentation=man:shadowsocks-libev(8)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
Reference in New Issue
Block a user