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:
+1
-1
@@ -97,5 +97,5 @@ esac
|
||||
|
||||
echo "Configured path1=$DROPBOX workdir=$WORKDIR (~/DataStorage)"
|
||||
echo "Startup: looping systemd --user service (sleeps 15 min after each run)"
|
||||
echo "If listings are empty: dry-run --resync only. Then: rclone-bisyncd --accept-resync"
|
||||
echo "No listings + RCLONE_TEST on both sides → dry-run --resync then live --resync"
|
||||
echo "enabled=$ENABLED (true only if dropbox: already has RCLONE_TEST)"
|
||||
|
||||
@@ -3,5 +3,5 @@ set -eu
|
||||
systemctl --user daemon-reload 2>/dev/null || true
|
||||
systemctl --user enable --now rclone-bisync.service 2>/dev/null || true
|
||||
if command -v notify-send >/dev/null 2>&1; then
|
||||
notify-send -a rclone-bisync "rclone-bisync" "Looping bisync started. First run is dry-run --resync until rclone-bisyncd --accept-resync."
|
||||
notify-send -a rclone-bisync "rclone-bisync" "Looping bisync started. First use: dry-run then live --resync if both RCLONE_TEST exist."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user