Skip to content

Instantly share code, notes, and snippets.

@bcap
Created November 3, 2013 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bcap/7293392 to your computer and use it in GitHub Desktop.
Save bcap/7293392 to your computer and use it in GitHub Desktop.
Simple BTSync config for Linux btsync CLI
{
"device_name": "sync test 1",
"listening_port" : 7788,
"storage_path" : "/var/lib/btsync/.sync",
"check_for_updates" : false,
"use_upnp" : false,
// limits in kB/s. 0 = no limit
"download_limit" : 0,
"upload_limit" : 0,
// remove "listen" field to disable WebUI
// remove "login" and "password" fields to disable credentials check
"webui" :
{
"listen" : "0.0.0.0:8888",
"login" : "admin",
"password" : "password"
},
"shared_folders" :
[
{
"secret" : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"dir" : "/var/lib/btsync/share1",
"use_relay_server" : true,
"use_tracker" : false,
"use_dht" : false,
"search_lan" : false,
// enable sync trash to store files deleted on remote devices
"use_sync_trash" : true,
// specify hosts to attempt connection without additional search
"known_hosts" :
[
"162.243.48.209:7788",
"192.241.205.155:7788",
"192.241.151.234:7788",
"162.243.51.97:7788"
]
}
]
// Advanced preferences can be added to config file.
// Info is available in BitTorrent Sync User Guide.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment