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:
parent
c26349fb77
commit
2a07789c5a
@ -11,7 +11,7 @@
|
|||||||
Description=Caddy API Server
|
Description=Caddy API Server
|
||||||
Documentation=https://caddyserver.com/docs/
|
Documentation=https://caddyserver.com/docs/
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Wants=network-online.target systemd-networkd-wait-online.service
|
Wants=network-online.target
|
||||||
StartLimitIntervalSec=14400
|
StartLimitIntervalSec=14400
|
||||||
StartLimitBurst=10
|
StartLimitBurst=10
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
Description=Caddy web server
|
Description=Caddy web server
|
||||||
Documentation=https://caddyserver.com/docs/
|
Documentation=https://caddyserver.com/docs/
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Wants=network-online.target systemd-networkd-wait-online.service
|
Wants=network-online.target
|
||||||
StartLimitIntervalSec=14400
|
StartLimitIntervalSec=14400
|
||||||
StartLimitBurst=10
|
StartLimitBurst=10
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user