more reliable syncfs

This commit is contained in:
Tove 2025-12-25 04:13:51 +01:00
parent 1c20bcb186
commit a569b6b4b3

View file

@ -15,7 +15,7 @@ pkgs.writeShellScriptBin "startsync" ''
while ! ls ~/sync/Passwords.kdbx ; do sleep 0.2 ; done
while true ; do
(cat ~/sync/test > /dev/null ; touch ~/.syncfs_ok) &
sleep 7
sleep 15
if ! [ -e ~/.syncfs_ok ] ; then
"$script" stop
exit