Moe, the config file has not changed between updates. But here it is:
{
"device_name": "ADevice",
"listening_port" : 6134, // 0 - randomize port
/* storage_path dir contains auxilliary app files if no storage_path field: .sync dir created in the directory
where binary is located. otherwise user-defined directory will be used */
"storage_path" : "/usr/local/var/btsync",
/* set location of pid file */
"pid_file" : "/var/run/btsync.pid",
/* use UPnP for port mapping */
"use_upnp" : false,
/* limits in kB/s. 0 - no limit */
"download_limit" : 0,
"upload_limit" : 0,
"shared_folders" :
[
{
"secret" : "ASecret********", // required field - use --generate-secret in command line to create new secret
"dir" : "/mnt/EXTDRIVE/BTSync/BTBox", // * required field
"use_relay_server" : false, // use relay server when direct connection fails
"use_tracker" : false,
"use_dht" : false,
"search_lan" : true,
"use_sync_trash" : true, // enable SyncArchive to store files deleted on remote devices
"overwrite_changes" : false, // restore modified files to original version, ONLY for Read-Only folders
"known_hosts" : // specify hosts to attempt connection without additional search
[
//"192.168.2.13:44444"
]
}
,{
"secret" : "BSecret*********", // required field - use --generate-secret in command line to create new secret
"dir" : "/mnt/EXTDRIVE/BTSync/SnowberryCamera", // * required field
"use_relay_server" : false, // use relay server when direct connection fails
"use_tracker" : false,
"use_dht" : false,
"search_lan" : true,
"use_sync_trash" : false, // enable SyncArchive to store files deleted on remote devices
"overwrite_changes" : true // restore modified files to original version, ONLY for Read-Only folders
}
,{
"secret" : "BSecret2*********", // required field - use -$
"dir" : "/mnt/EXTDRIVE/BTSync/Notebooks", // * required field
"use_relay_server" : false, // use relay server when direct connection f$
"use_tracker" : false,
"use_dht" : false,
"search_lan" : true,
"use_sync_trash" : false, // enable SyncArchive to store files deleted on $
"overwrite_changes" : true // restore modified files to original version,$
}
]
/* Advanced preferences can be added to config file. Info is available at "http://help.getsync.com/customer/portal/articles/1902048-sync-advanced-preferences--more-options"
For example see folder_rescan_interval below */
//, "folder_rescan_interval" : "86400"
}
Note: The Secrets are valid folder keys, I have hidden them for this post.
I also find that btsync keeps warning that the flag use_dht is deprecated, but the --dump-sample-config flag still produces a config with this flag in. But this warning has been around a while, it was not shutting down due to that.