Add Windows one-click zip and Debian timer/tray packaging
Bundles forked rclone + rclone-bisyncd. Does not vendor dist binaries.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=rclone Dropbox bisync
|
||||
Comment=Enable user timer and show notifications for Dropbox bisync
|
||||
Exec=/opt/rclone-dropbox-bisync/bin/session-start.sh
|
||||
Icon=folder-remote
|
||||
Terminal=false
|
||||
Categories=Network;FileTransfer;
|
||||
X-GNOME-Autostart-enabled=true
|
||||
StartupNotify=false
|
||||
@@ -0,0 +1,11 @@
|
||||
Package: rclone-dropbox-bisync
|
||||
Version: 1.0.0
|
||||
Section: net
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Maintainer: local <root@localhost>
|
||||
Depends: libnotify-bin
|
||||
Description: Forked rclone Dropbox bisync with fail-closed defaults
|
||||
Bundles a patched rclone (ListR + --delta-list) and a user timer/tray
|
||||
helper. Does not run until ~/.config/rclone-dropbox-bisync/config.json
|
||||
has enabled=true and valid paths.
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
systemctl --user daemon-reload 2>/dev/null || true
|
||||
systemctl --user enable --now rclone-bisync.timer 2>/dev/null || true
|
||||
if command -v notify-send >/dev/null 2>&1; then
|
||||
notify-send -a rclone-bisync "rclone-bisync" "Background timer enabled. Edit ~/.config/rclone-dropbox-bisync/config.json (set enabled=true)."
|
||||
fi
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=rclone Dropbox bisync (fail-closed)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/opt/rclone-dropbox-bisync/bin/rclone-bisyncd --once
|
||||
Nice=10
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=rclone Dropbox bisync timer
|
||||
|
||||
[Timer]
|
||||
OnBootSec=3min
|
||||
OnUnitActiveSec=15min
|
||||
Persistent=true
|
||||
Unit=rclone-bisync.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user