diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-21 13:30:47 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-21 13:30:47 -0600 |
| commit | c16e5f9c3a92df53aa759df660f4af1199205f2a (patch) | |
| tree | 1c77a66085427026180330694b965d2b91de3355 /scripts | |
| parent | 1c95bb393b31122aa35a3ae85351058accf74f32 (diff) | |
fix(archsetup): increase GRUB timeout and switch syncthing to user service
- GRUB_TIMEOUT 0→2 seconds for menu access
- Syncthing: system service → user service with lingering to prevent lock conflicts
- Update airplanemodetoggle for user service
- Update validation to check lingering instead of system service
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/testing/lib/validation.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/testing/lib/validation.sh b/scripts/testing/lib/validation.sh index 280f435..cdc33c5 100644 --- a/scripts/testing/lib/validation.sh +++ b/scripts/testing/lib/validation.sh @@ -550,7 +550,14 @@ validate_all_services() { validate_service_optional "cups" "enabled" validate_service_optional "docker" "enabled" validate_service_optional "tailscaled" "enabled" - validate_service_optional "syncthing@cjennings" "enabled" + # Syncthing uses user service (not system), check lingering is enabled + step "Checking user lingering for syncthing" + local linger_enabled=$(ssh_cmd "ls /var/lib/systemd/linger/cjennings 2>/dev/null && echo yes || echo no") + if [ "$linger_enabled" = "yes" ]; then + validation_pass "User lingering enabled for syncthing user service" + else + validation_warn "User lingering not enabled (syncthing may not autostart)" + fi # Filesystem-specific validate_zfs_services |
