Browse Source

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.
pull/2266/merge
Maxim Shpak 1 month ago
committed by Max Lv
parent
commit
6329526199
  1. 1
      debian/shadowsocks-libev.service

1
debian/shadowsocks-libev.service

@ -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

Loading…
Cancel
Save