Closed kealthou closed 2 years ago
I've noticed this too. When I stop asd.service, add a new entry to asd.conf, and restart it, it seems to lock up and never finish.
CGroup: /system.slice/asd.service
├─ 413 /bin/bash /usr/bin/anything-sync-daemon sync
├─2799 rsync -aogX --inplace --no-whole-file /home/username/.config/mpv/.watch_later-backup_asd/ /www/cache/asd-username/home/username/.config/mpv/watch_later/
├─2800 rsync -aogX --inplace --no-whole-file /home/username/.config/mpv/.watch_later-backup_asd/ /www/cache/asd-username/home/username/.config/mpv/watch_later/
└─2801 rsync -aogX --inplace --no-whole-file /home/username/.config/mpv/.watch_later-backup_asd/ /www/cache/asd-username/home/username/.config/mpv/watch_later/
Is there any way to work around this?
systemctl start asd
startsasd.service
andasd-resync.service
at the same time, which runanything-sync-daemon sync
andanything-sync-daemon resync
respectively, and causes 2 simultaneous sync.When doing
systemctl restart asd
,anything-sync-daemon unsync
, which also does sync before doing unsync, joins the group, so it leads to 3 sync in parallel.