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/2811/head
Maxim Shpak 3 years ago
committed by Max Lv
parent
commit
6329526199
1 changed files with 1 additions and 0 deletions
  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