Files
f-denkena e94fca5ae1 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.
2026-09-10 01:14:53 +02:00

8 lines
329 B
Bash
Executable File

#!/bin/sh
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 use: dry-run then live --resync if both RCLONE_TEST exist."
fi