chmars2020 Posted January 20, 2015 Report Share Posted January 20, 2015 The BTSync client on our server crashes from time to time. It would be great if there were a way to automatically restart BTSync after such a crash. Any ideas? (An official server version of BTSync would of course be even better …) Quote Link to comment Share on other sites More sharing options...
Remirus Posted January 22, 2015 Report Share Posted January 22, 2015 chmars2020, thank you for your suggestion. We'll consider about adding this feature in future updates. Crash is not normal behavior for the Sync.But you can make a script to check if the Sync is running or not and start it if it's not running:case "$(pidof btsync |wc -w)" in0) echo "Starting Sync"./btsync;;1) echo "Sync is already running";;esacThen add that script into the crontab to run every minute. Quote Link to comment Share on other sites More sharing options...
chmars2020 Posted January 23, 2015 Author Report Share Posted January 23, 2015 Thanks, cipherplain! I'll adapt the script for OS X. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.