update README for syncthing-keepalive

This commit is contained in:
2019-01-04 15:23:49 +03:00
parent 1805f4a97b
commit 5f9e27d10f

View File

@@ -12,5 +12,15 @@
Place ~check-syncthing.sh~ somewhere in you path, and add it's Place ~check-syncthing.sh~ somewhere in you path, and add it's
invocation to your crontab. invocation to your crontab.
You also might want to use the ~timeout~ utility, since the script
contains while loops which in theory can stuck in an endless loop.
So, your crontab entry for this script might look like this:
#+BEGIN_SRC
*/10 * * * * /usr/bin/timeout -s 2 5 ~/bin/check-syncthing.sh
#+END_SRC
Also don't forget to make the script executable.
*** Known limitations *** Known limitations
* Doesn't clean pid file even after successfull shutdown. * Doesn't clean pid file even after successfull shutdown.