Both RCLONE_TEST required. Never after a failed normal run. Partial listings abort. Enables config after live resync.
8 lines
329 B
Bash
Executable File
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
|