daemon: auto --resync on first use after successful dry-run

Both RCLONE_TEST required. Never after a failed normal run. Partial
listings abort. Enables config after live resync.
This commit is contained in:
2026-09-10 01:14:53 +02:00
parent dc8f1e885a
commit e94fca5ae1
6 changed files with 53 additions and 22 deletions
+1 -1
View File
@@ -37,4 +37,4 @@ Start-Process powershell.exe -WindowStyle Hidden -ArgumentList @(
Start-Process $daemon -WindowStyle Hidden
Add-Type -AssemblyName PresentationFramework
[System.Windows.MessageBox]::Show("Installed to $Dest`r`nCopy RCLONE_TEST to dropbox:, set enabled=true, then rclone-bisyncd --accept-resync.", 'rclone-dropbox-bisync')
[System.Windows.MessageBox]::Show("Installed to $Dest`r`nCopy RCLONE_TEST to dropbox: if missing. First run dry-runs then live --resync when both markers exist.", 'rclone-dropbox-bisync')
+2 -3
View File
@@ -97,7 +97,6 @@ Configured:
workdir $Workdir
session datastorage-dropbox (shared with Linux)
daemon looping; 15 min after each run; mkdir lock
Copy RCLONE_TEST to dropbox:, set enabled=true, then:
rclone-bisyncd --accept-resync
(first run is --dry-run --resync until then)
If dropbox: has RCLONE_TEST and listings are missing, the daemon
dry-run --resync then live --resync on its own. Never after a failed run.
"@