Don't depend on systemd-network-wait-online.service

Depending on network-online.target is good enough. The user may or may
not use systemd-networkd to manage network interfaces.

Fixing https://gitlab.archlinux.org/archlinux/packaging/packages/caddy/-/issues/1
This commit is contained in:
Whyme Lyu 2023-12-14 19:03:53 +08:00
parent c26349fb77
commit 2a07789c5a
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
Description=Caddy API Server
Documentation=https://caddyserver.com/docs/
After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service
Wants=network-online.target
StartLimitIntervalSec=14400
StartLimitBurst=10

View File

@ -17,7 +17,7 @@
Description=Caddy web server
Documentation=https://caddyserver.com/docs/
After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service
Wants=network-online.target
StartLimitIntervalSec=14400
StartLimitBurst=10