daemon: flock, dry-run resync gate, shared session, looping interval
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
[Unit]
|
||||
Description=rclone Dropbox bisync (fail-closed)
|
||||
Description=rclone Dropbox bisync (fail-closed loop)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/opt/rclone-dropbox-bisync/bin/rclone-bisyncd --once
|
||||
Type=simple
|
||||
ExecStart=/opt/rclone-dropbox-bisync/bin/rclone-bisyncd
|
||||
Restart=on-failure
|
||||
RestartSec=60
|
||||
Nice=10
|
||||
|
||||
[Install]
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
[Unit]
|
||||
Description=rclone Dropbox bisync timer
|
||||
Description=unused — looping rclone-bisync.service replaced the timer
|
||||
|
||||
[Timer]
|
||||
OnBootSec=3min
|
||||
OnUnitActiveSec=15min
|
||||
OnUnitInactiveSec=15min
|
||||
Persistent=true
|
||||
Unit=rclone-bisync.service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user