fix: replace network-online.target with NetworkManager.service to avoid 60s+ startup delay

Made-with: Cursor
This commit is contained in:
stswangzhiping
2026-03-20 08:28:55 +08:00
parent e94e2bb10c
commit d3bd5ca3e7

View File

@@ -181,8 +181,8 @@ cat > "$SERVICE_FILE" <<EOF
[Unit]
Description=Claw Box Daemon
Documentation=https://github.com/stswangzhiping/clawd
After=network-online.target
Wants=network-online.target
After=NetworkManager.service
Wants=NetworkManager.service
[Service]
Type=simple