syncthing-config.5 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH "SYNCTHING-CONFIG" "5" "April 08, 2016" "v0.12" "Syncthing"
  4. .SH NAME
  5. syncthing-config \- Syncthing Configuration
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .SH SYNOPSIS
  34. .INDENT 0.0
  35. .INDENT 3.5
  36. .sp
  37. .nf
  38. .ft C
  39. $HOME/.config/syncthing
  40. $HOME/Library/Application Support/Syncthing
  41. %AppData%/Syncthing
  42. %localappdata%/Syncthing
  43. .ft P
  44. .fi
  45. .UNINDENT
  46. .UNINDENT
  47. .SH DESCRIPTION
  48. .sp
  49. Syncthing uses a single directory to store configuration, crypto keys
  50. and index caches. The location defaults to \fB$HOME/.config/syncthing\fP
  51. (Unix\-like), \fB$HOME/Library/Application Support/Syncthing\fP (Mac),
  52. \fB%AppData%/Syncthing\fP (Windows XP) or \fB%LocalAppData%/Syncthing\fP
  53. (Windows 7+). It can be changed at runtime using the \fB\-home\fP flag. In this
  54. directory the following files are located:
  55. .INDENT 0.0
  56. .TP
  57. .B \fBconfig.xml\fP
  58. The configuration file, in XML format.
  59. .TP
  60. .B \fBcert.pem\fP, \fBkey.pem\fP
  61. The device\(aqs RSA public and private key. These form the basis for the
  62. device ID. The key must be kept private.
  63. .TP
  64. .B \fBhttps\-cert.pem\fP, \fBhttps\-key.pem\fP
  65. The certificate and key for HTTPS GUI connections. These may be replaced
  66. with a custom certificate for HTTPS as desired.
  67. .TP
  68. .B \fBindex\-\fP\fI*\fP\fB\&.db\fP
  69. A directory holding the database with metadata and hashes of the files
  70. currently on disk and available from peers.
  71. .TP
  72. .B \fBcsrftokens.txt\fP
  73. A list of recently issued CSRF tokens (for protection against browser cross
  74. site request forgery).
  75. .UNINDENT
  76. .SH CONFIG FILE FORMAT
  77. .sp
  78. The following shows the default configuration file:
  79. .INDENT 0.0
  80. .INDENT 3.5
  81. .sp
  82. .nf
  83. .ft C
  84. <configuration version="12">
  85. <folder id="default" path="/Users/jb/Sync/" ro="false" rescanIntervalS="60" ignorePerms="false" autoNormalize="true">
  86. <device id="3LT2GA5\-CQI4XJM\-WTZ264P\-MLOGMHL\-MCRLDNT\-MZV4RD3\-KA745CL\-OGAERQZ"></device>
  87. <minDiskFreePct>1</minDiskFreePct>
  88. <versioning></versioning>
  89. <copiers>0</copiers>
  90. <pullers>0</pullers>
  91. <hashers>0</hashers>
  92. <order>random</order>
  93. <ignoreDelete>false</ignoreDelete>
  94. <scanProgressIntervalS>0</scanProgressIntervalS>
  95. <pullerSleepS>0</pullerSleepS>
  96. <pullerPauseS>0</pullerPauseS>
  97. <maxConflicts>0</maxConflicts>
  98. </folder>
  99. <device id="3LT2GA5\-CQI4XJM\-WTZ264P\-MLOGMHL\-MCRLDNT\-MZV4RD3\-KA745CL\-OGAERQZ" name="syno" compression="metadata" introducer="false">
  100. <address>dynamic</address>
  101. </device>
  102. <gui enabled="true" tls="false">
  103. <address>127.0.0.1:52620</address>
  104. <apikey>k1dnz1Dd0rzTBjjFFh7CXPnrF12C49B1</apikey>
  105. </gui>
  106. <options>
  107. <listenAddress>tcp://0.0.0.0:22000</listenAddress>
  108. <globalAnnounceServer>default</globalAnnounceServer>
  109. <globalAnnounceEnabled>true</globalAnnounceEnabled>
  110. <localAnnounceEnabled>true</localAnnounceEnabled>
  111. <localAnnouncePort>21027</localAnnouncePort>
  112. <localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
  113. <relayServer>dynamic+https://relays.syncthing.net/endpoint</relayServer>
  114. <maxSendKbps>0</maxSendKbps>
  115. <maxRecvKbps>0</maxRecvKbps>
  116. <reconnectionIntervalS>60</reconnectionIntervalS>
  117. <relaysEnabled>true</relaysEnabled>
  118. <relayReconnectIntervalM>10</relayReconnectIntervalM>
  119. <relayWithoutGlobalAnn>false</relayWithoutGlobalAnn>
  120. <startBrowser>true</startBrowser>
  121. <upnpEnabled>true</upnpEnabled>
  122. <upnpLeaseMinutes>60</upnpLeaseMinutes>
  123. <upnpRenewalMinutes>30</upnpRenewalMinutes>
  124. <upnpTimeoutSeconds>10</upnpTimeoutSeconds>
  125. <urAccepted>0</urAccepted>
  126. <urUniqueID></urUniqueID>
  127. <urURL>https://data.syncthing.net/newdata</urURL>
  128. <urPostInsecurely>false</urPostInsecurely>
  129. <urInitialDelayS>1800</urInitialDelayS>
  130. <restartOnWakeup>true</restartOnWakeup>
  131. <autoUpgradeIntervalH>12</autoUpgradeIntervalH>
  132. <keepTemporariesH>24</keepTemporariesH>
  133. <cacheIgnoredFiles>true</cacheIgnoredFiles>
  134. <progressUpdateIntervalS>5</progressUpdateIntervalS>
  135. <symlinksEnabled>true</symlinksEnabled>
  136. <limitBandwidthInLan>false</limitBandwidthInLan>
  137. <databaseBlockCacheMiB>0</databaseBlockCacheMiB>
  138. <minHomeDiskFreePct>1</minHomeDiskFreePct>
  139. <releasesURL>https://api.github.com/repos/syncthing/syncthing/releases?per_page=30</releasesURL>
  140. </options>
  141. </configuration>
  142. .ft P
  143. .fi
  144. .UNINDENT
  145. .UNINDENT
  146. .SH CONFIGURATION ELEMENT
  147. .sp
  148. This is the root element.
  149. .INDENT 0.0
  150. .TP
  151. .B version
  152. The config version. Increments whenever a change is made that requires
  153. migration from previous formats.
  154. .UNINDENT
  155. .SH FOLDER ELEMENT
  156. .INDENT 0.0
  157. .INDENT 3.5
  158. .sp
  159. .nf
  160. .ft C
  161. <folder id="default" path="/Users/jb/Sync/" ro="false" rescanIntervalS="60" ignorePerms="false" autoNormalize="true">
  162. <device id="3LT2GA5\-CQI4XJM\-WTZ264P\-MLOGMHL\-MCRLDNT\-MZV4RD3\-KA745CL\-OGAERQZ"></device>
  163. <minDiskFreePct>1</minDiskFreePct>
  164. <versioning></versioning>
  165. <copiers>0</copiers>
  166. <pullers>0</pullers>
  167. <hashers>0</hashers>
  168. <order>random</order>
  169. <ignoreDelete>false</ignoreDelete>
  170. <scanProgressIntervalS>0</scanProgressIntervalS>
  171. <pullerSleepS>0</pullerSleepS>
  172. <pullerPauseS>0</pullerPauseS>
  173. <maxConflicts>0</maxConflicts>
  174. </folder>
  175. .ft P
  176. .fi
  177. .UNINDENT
  178. .UNINDENT
  179. .sp
  180. One or more \fBfolder\fP elements must be present in the file. Each element
  181. describes one folder. The following attributes may be set on the \fBfolder\fP
  182. element:
  183. .INDENT 0.0
  184. .TP
  185. .B id
  186. The folder ID, must be unique. (mandatory)
  187. .TP
  188. .B path
  189. The path to the directory where the folder is stored on this
  190. device; not sent to other devices. (mandatory)
  191. .TP
  192. .B ro
  193. True if the folder is read only (Master mode; will not be modified by
  194. Syncthing) on this device.
  195. .TP
  196. .B rescanIntervalS
  197. The rescan interval, in seconds. Can be set to zero to disable when external
  198. plugins are used to trigger rescans.
  199. .TP
  200. .B ignorePerms
  201. True if the folder should ignore permissions.
  202. .TP
  203. .B autoNormalize
  204. Automatically correct UTF\-8 normalization errors found in file names.
  205. .UNINDENT
  206. .sp
  207. The following child elements may exist:
  208. .INDENT 0.0
  209. .TP
  210. .B device
  211. These must have the \fBid\fP attribute and nothing else. Mentioned devices
  212. are those that will be sharing the folder in question. Each mentioned
  213. device must have a separate \fBdevice\fP element later in the file. It is
  214. customary that the local device ID is included in all repositories.
  215. Syncthing will currently add this automatically if it is not present in
  216. the configuration file.
  217. .TP
  218. .B minDiskFreePct
  219. The percentage of space that should be available on the disk this folder
  220. resides. The folder will be stopped when the percentage of free space goes
  221. below the threshold. Set to zero to disable.
  222. .TP
  223. .B versioning
  224. Specifies a versioning configuration.
  225. .UNINDENT
  226. .sp
  227. \fBSEE ALSO:\fP
  228. .INDENT 0.0
  229. .INDENT 3.5
  230. versioning
  231. .UNINDENT
  232. .UNINDENT
  233. .INDENT 0.0
  234. .TP
  235. .B copiers, pullers, hashers
  236. The number of copier, puller and hasher routines to use, or zero for the
  237. system determined optimum. These are low level performance options for
  238. advanced users only; do not change unless requested to or you\(aqve actually
  239. read and understood the code yourself. :)
  240. .TP
  241. .B order
  242. The order in which needed files should be pulled from the cluster.
  243. The possibles values are:
  244. .INDENT 7.0
  245. .TP
  246. .B random
  247. Pull files in random order. This optimizes for balancing resources among
  248. the devices in a cluster.
  249. .TP
  250. .B alphabetic
  251. Pull files ordered by file name alphabetically.
  252. .TP
  253. .B smallestFirst, largestFirst
  254. Pull files ordered by file size; smallest and largest first respectively.
  255. .TP
  256. .B oldestFirst, newestFirst
  257. Pull files ordered by modification time; oldest and newest first
  258. respectively.
  259. .UNINDENT
  260. .TP
  261. .B ignoreDelete
  262. When set to true, this device will pretend not to see instructions to
  263. delete files from other devices.
  264. .TP
  265. .B scanProgressIntervalS
  266. The interval with which scan progress information is sent to the GUI. Zero
  267. means the default value (two seconds).
  268. .TP
  269. .B pullerSleepS, pullerPauseS
  270. Tweaks for rate limiting the puller. Don\(aqt change these unless you know
  271. what you\(aqre doing.
  272. .TP
  273. .B maxConflicts
  274. The maximum number of conflict copies to keep around for any given file.
  275. The default, \-1, means an unlimited number. Setting this to zero disables
  276. conflict copies altogether.
  277. .UNINDENT
  278. .SH DEVICE ELEMENT
  279. .INDENT 0.0
  280. .INDENT 3.5
  281. .sp
  282. .nf
  283. .ft C
  284. <device id="5SYI2FS\-LW6YAXI\-JJDYETS\-NDBBPIO\-256MWBO\-XDPXWVG\-24QPUM4\-PDW4UQU" name="syno" compression="metadata" introducer="false">
  285. <address>dynamic</address>
  286. </device>
  287. <device id="2CYF2WQ\-AKZO2QZ\-JAKWLYD\-AGHMQUM\-BGXUOIS\-GYILW34\-HJG3DUK\-LRRYQAR" name="syno local" compression="metadata" introducer="false">
  288. <address>tcp://192.0.2.1:22001</address>
  289. </device>
  290. .ft P
  291. .fi
  292. .UNINDENT
  293. .UNINDENT
  294. .sp
  295. One or more \fBdevice\fP elements must be present in the file. Each element
  296. describes a device participating in the cluster. It is customary to include a
  297. \fBdevice\fP element for the local device; Syncthing will currently add one if
  298. it is not present. The following attributes may be set on the \fBdevice\fP
  299. element:
  300. .INDENT 0.0
  301. .TP
  302. .B id
  303. The device ID. This must be written in canonical form, that is without any
  304. spaces or dashes. (mandatory)
  305. .TP
  306. .B name
  307. A friendly name for the device. (optional)
  308. .TP
  309. .B compression
  310. Whether to use protocol compression when sending messages to this device.
  311. The possible values are:
  312. .INDENT 7.0
  313. .TP
  314. .B metadata
  315. Compress metadata packets, such as index information. Metadata is
  316. usually very compression friendly so this is a good default.
  317. .TP
  318. .B always
  319. Compress all packets, including file data. This is recommended if the
  320. folders contents are mainly compressible data such as documents or
  321. text files.
  322. .TP
  323. .B never
  324. Disable all compression.
  325. .UNINDENT
  326. .TP
  327. .B introducer
  328. Set to true if this device should be trusted as an introducer, i.e. we
  329. should copy their list of devices per folder when connecting.
  330. .UNINDENT
  331. .sp
  332. In addition, one or more \fBaddress\fP child elements must be present. Each
  333. contains an address or host name to use when attempting to connect to this device and will
  334. be tried in order. Entries other than \fBdynamic\fP must be prefixed with \fBtcp://\fP (dual\-stack), \fBtcp4://\fP (IPv4 only) or
  335. .nf
  336. \(ga\(ga
  337. .fi
  338. tcp6://\(ga (IPv6 only). Note that IP addresses need not use tcp4/tcp6; these are optional. Accepted formats are:
  339. .INDENT 0.0
  340. .TP
  341. .B IPv4 address (\fBtcp://192.0.2.42\fP)
  342. The default port (22000) is used.
  343. .TP
  344. .B IPv4 address and port (\fBtcp://192.0.2.42:12345\fP)
  345. The address and port is used as given.
  346. .TP
  347. .B IPv6 address (\fBtcp://[2001:db8::23:42]\fP)
  348. The default port (22000) is used. The address must be enclosed in
  349. square brackets.
  350. .TP
  351. .B IPv6 address and port (\fBtcp://[2001:db8::23:42]:12345\fP)
  352. The address and port is used as given. The address must be enclosed in
  353. square brackets.
  354. .TP
  355. .B Host name (\fBtcp6://fileserver\fP)
  356. The host name will be used on the default port (22000) and connections will be attempted only via IPv6.
  357. .TP
  358. .B Host name and port (\fBtcp://fileserver:12345\fP)
  359. The host name will be used on the given port and connections will be attempted via both IPv4 and IPv6, depending on name resolution.
  360. .TP
  361. .B \fBdynamic\fP
  362. The word \fBdynamic\fP (without \fBtcp://\fP prefix) means to use local and global discovery to find the
  363. device.
  364. .UNINDENT
  365. .SH IGNOREDDEVICE ELEMENT
  366. .INDENT 0.0
  367. .INDENT 3.5
  368. .sp
  369. .nf
  370. .ft C
  371. <ignoredDevice>5SYI2FS\-LW6YAXI\-JJDYETS\-NDBBPIO\-256MWBO\-XDPXWVG\-24QPUM4\-PDW4UQU</ignoredDevice>
  372. .ft P
  373. .fi
  374. .UNINDENT
  375. .UNINDENT
  376. .sp
  377. This optional element lists device IDs that have been specifically ignored. One element must be present for each device ID. Connection attempts from these devices are logged to the console but never displayed in the web GUI.
  378. .SH GUI ELEMENT
  379. .INDENT 0.0
  380. .INDENT 3.5
  381. .sp
  382. .nf
  383. .ft C
  384. <gui enabled="true" tls="false">
  385. <address>127.0.0.1:8384</address>
  386. <apikey>l7jSbCqPD95JYZ0g8vi4ZLAMg3ulnN1b</apikey>
  387. </gui>
  388. .ft P
  389. .fi
  390. .UNINDENT
  391. .UNINDENT
  392. .sp
  393. There must be exactly one \fBgui\fP element. The GUI configuration is also used
  394. by the rest\-api and the event\-api\&. The following attributes may
  395. be set on the \fBgui\fP element:
  396. .INDENT 0.0
  397. .TP
  398. .B enabled
  399. If not \fBtrue\fP, the GUI and API will not be started.
  400. .TP
  401. .B tls
  402. If set to \fBtrue\fP, TLS (HTTPS) will be enforced. Non\-HTTPS requests will
  403. be redirected to HTTPS. When this is set to \fBfalse\fP, TLS connections are
  404. still possible but it is not mandatory.
  405. .UNINDENT
  406. .sp
  407. The following child elements may be present:
  408. .INDENT 0.0
  409. .TP
  410. .B address
  411. Set the listen addresses. One or more address elements must be present.
  412. Allowed address formats are:
  413. .INDENT 7.0
  414. .TP
  415. .B IPv4 address and port (\fB127.0.0.1:8384\fP)
  416. The address and port is used as given.
  417. .TP
  418. .B IPv4 wildcard and port (\fBtcp4://0.0.0.0\fP, \fBtcp4://:8384\fP)
  419. These are equivalent and will result in Syncthing listening on all interfaces via IPv4 only.
  420. .TP
  421. .B IPv6 address and port (\fB[::1]:8384\fP)
  422. The address and port is used as given. The address must be enclosed in
  423. square brackets.
  424. .TP
  425. .B IPv6 wildcard and port (\fBtcp6://[::]:8384\fP, \fBtcp6://:8384\fP)
  426. These are equivalent and will result in Syncthing listening on all interfaces via IPv6 only.
  427. .TP
  428. .B Wildcard and port (\fB0.0.0.0:12345\fP, \fB[::]:12345\fP, \fB:12345\fP)
  429. These are equivalent and will result in Syncthing listening on all
  430. interfaces via both IPv4 and IPv6.
  431. .UNINDENT
  432. .TP
  433. .B username
  434. Set to require authentication.
  435. .TP
  436. .B password
  437. Contains the bcrypt hash of the real password.
  438. .TP
  439. .B apikey
  440. If set, this is the API key that enables usage of the REST interface.
  441. .UNINDENT
  442. .SH OPTIONS ELEMENT
  443. .INDENT 0.0
  444. .INDENT 3.5
  445. .sp
  446. .nf
  447. .ft C
  448. <options>
  449. <listenAddress>tcp://0.0.0.0:22000</listenAddress>
  450. <globalAnnounceServer>default</globalAnnounceServer>
  451. <globalAnnounceEnabled>true</globalAnnounceEnabled>
  452. <localAnnounceEnabled>true</localAnnounceEnabled>
  453. <localAnnouncePort>21027</localAnnouncePort>
  454. <localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
  455. <relayServer>dynamic+https://relays.syncthing.net/endpoint</relayServer>
  456. <maxSendKbps>0</maxSendKbps>
  457. <maxRecvKbps>0</maxRecvKbps>
  458. <reconnectionIntervalS>60</reconnectionIntervalS>
  459. <relaysEnabled>true</relaysEnabled>
  460. <relayReconnectIntervalM>10</relayReconnectIntervalM>
  461. <relayWithoutGlobalAnn>false</relayWithoutGlobalAnn>
  462. <startBrowser>true</startBrowser>
  463. <upnpEnabled>true</upnpEnabled>
  464. <upnpLeaseMinutes>60</upnpLeaseMinutes>
  465. <upnpRenewalMinutes>30</upnpRenewalMinutes>
  466. <upnpTimeoutSeconds>10</upnpTimeoutSeconds>
  467. <urAccepted>0</urAccepted>
  468. <urUniqueID></urUniqueID>
  469. <urURL>https://data.syncthing.net/newdata</urURL>
  470. <urPostInsecurely>false</urPostInsecurely>
  471. <urInitialDelayS>1800</urInitialDelayS>
  472. <restartOnWakeup>true</restartOnWakeup>
  473. <autoUpgradeIntervalH>12</autoUpgradeIntervalH>
  474. <keepTemporariesH>24</keepTemporariesH>
  475. <cacheIgnoredFiles>true</cacheIgnoredFiles>
  476. <progressUpdateIntervalS>5</progressUpdateIntervalS>
  477. <symlinksEnabled>true</symlinksEnabled>
  478. <limitBandwidthInLan>false</limitBandwidthInLan>
  479. <databaseBlockCacheMiB>0</databaseBlockCacheMiB>
  480. <minHomeDiskFreePct>1</minHomeDiskFreePct>
  481. <releasesURL>https://api.github.com/repos/syncthing/syncthing/releases?per_page=30</releasesURL>
  482. </options>
  483. .ft P
  484. .fi
  485. .UNINDENT
  486. .UNINDENT
  487. .sp
  488. The \fBoptions\fP element contains all other global configuration options.
  489. .INDENT 0.0
  490. .TP
  491. .B listenAddress
  492. The listen address for incoming sync connections. See the \fBaddress\fP
  493. element under the \fI\%GUI Element\fP for allowed syntax, with the addition
  494. that the address must have a protocol scheme prefix. Currently \fBtcp://\fP
  495. is the only supported protocol scheme.
  496. .TP
  497. .B globalAnnounceServer
  498. A URI to a global announce (discovery) server, or the word \fBdefault\fP to
  499. include the default servers. Any number of globalAnnounceServer elements
  500. may be present. The syntax for non\-default entries is that of a HTTP or
  501. HTTPS URL. A number of options may be added as query options to the URL:
  502. \fBinsecure\fP to prevent certificate validation (required for HTTP URLs)
  503. and \fBid=<device ID>\fP to perform certificate pinning. The device ID to
  504. use is printed by the discovery server on startup.
  505. .TP
  506. .B globalAnnounceEnabled
  507. Whether to announce this device to the global announce (discovery) server,
  508. and also use it to look up other devices.
  509. .TP
  510. .B localAnnounceEnabled
  511. Whether to send announcements to the local LAN, also use such
  512. announcements to find other devices.
  513. .TP
  514. .B localAnnouncePort
  515. The port on which to listen and send IPv4 broadcast announcements to.
  516. .TP
  517. .B localAnnounceMCAddr
  518. The group address and port to join and send IPv6 multicast announcements on.
  519. .TP
  520. .B relayServer
  521. Lists one or more relay servers, on the format \fBrelay://hostname:port\fP\&.
  522. Alternatively, a relay list can be loaded over https by using an URL like
  523. \fBdynamic+https://somehost/path\fP\&. The default loads the list of relays
  524. from the relay pool server, \fBrelays.syncthing.net\fP\&.
  525. .TP
  526. .B maxSendKbps
  527. Outgoing data rate limit, in kibibytes per second.
  528. .TP
  529. .B maxRecvKbps
  530. Incoming data rate limits, in kibibytes per second.
  531. .TP
  532. .B reconnectionIntervalS
  533. The number of seconds to wait between each attempt to connect to currently
  534. unconnected devices.
  535. .TP
  536. .B relaysEnabled
  537. When true, relays will be connected to and potentially used for device to device connections.
  538. .TP
  539. .B relayReconnectIntervalM
  540. Sets the interval, in minutes, between relay reconnect attempts.
  541. .TP
  542. .B relayWithoutGlobalAnn
  543. When set to true, relay connections will be attempted even when global
  544. discovery is disabled. This is useful only in the case where devices are
  545. known to be connected to the same relays. The default is \fBfalse\fP\&.
  546. .TP
  547. .B startBrowser
  548. Whether to attempt to start a browser to show the GUI when Syncthing starts.
  549. .TP
  550. .B upnpEnabled
  551. Whether to attempt to perform an UPnP port mapping for incoming sync
  552. connections.
  553. .TP
  554. .B upnpLeaseMinutes
  555. Request a lease for this many minutes; zero to request a permanent lease.
  556. .TP
  557. .B upnpRenewalMinutes
  558. Attempt to renew the lease after this many minutes.
  559. .TP
  560. .B upnpTimeoutSeconds
  561. When scanning for UPnP devices, wait this long for responses.
  562. .TP
  563. .B urAccepted
  564. Whether the user has accepted to submit anonymous usage data. The default,
  565. \fB0\fP, mean the user has not made a choice, and Syncthing will ask at some
  566. point in the future. \fB\-1\fP means no, a number above zero means that that
  567. version of usage reporting has been accepted.
  568. .TP
  569. .B urUniqueID
  570. The unique ID sent together with the usage report. Generated when usage
  571. reporting is enabled.
  572. .TP
  573. .B urURL
  574. The URL to post usage report data to, when enabled.
  575. .TP
  576. .B urPostInsecurely
  577. When true, the UR URL can be http instead of https, or have a self\-signed
  578. certificate. The default is \fBfalse\fP\&.
  579. .TP
  580. .B urInitialDelayS
  581. The time to wait from startup to the first usage report being sent. Allows
  582. the system to stabilize before reporting statistics.
  583. .TP
  584. .B restartOnWakeup
  585. Whether to perform a restart of Syncthing when it is detected that we are
  586. waking from sleep mode (i.e. a folded up laptop).
  587. .TP
  588. .B autoUpgradeIntervalH
  589. Check for a newer version after this many hours. Set to zero to disable
  590. automatic upgrades.
  591. .TP
  592. .B keepTemporariesH
  593. Keep temporary failed transfers for this many hours. While the temporaries
  594. are kept, the data they contain need not be transferred again.
  595. .TP
  596. .B cacheIgnoredFiles
  597. Whether to cache the results of ignore pattern evaluation. Performance at
  598. the price of memory.
  599. .TP
  600. .B progressUpdateIntervalS
  601. How often in seconds the progress of ongoing downloads is made available to
  602. the GUI.
  603. .TP
  604. .B symlinksEnabled
  605. Whether to sync symlinks, if supported by the system.
  606. .TP
  607. .B limitBandwidthInLan
  608. Whether to apply bandwidth limits to devices in the same broadcast domain
  609. as the local device.
  610. .TP
  611. .B databaseBlockCacheMiB
  612. Override the automatically calculated database block cache size. Don\(aqt,
  613. unless you\(aqre very short on memory, in which case you want to set this to
  614. \fB8\fP\&.
  615. .TP
  616. .B pingTimeoutS
  617. Ping\-timeout in seconds. Don\(aqt change it unless you are having issues due to
  618. slow response time (slow connection/cpu) and large index exchanges.
  619. .TP
  620. .B pingIdleTimeS
  621. Ping interval in seconds. Don\(aqt change it unless you feel it\(aqs necessary.
  622. .TP
  623. .B minHomeDiskFreePct
  624. The percentage of space that should be available on the partition holding
  625. the configuration and index.
  626. .TP
  627. .B releasesURL
  628. The URL from which release information is loaded, for automatic upgrades.
  629. .UNINDENT
  630. .SH SYNCING CONFIGURATION FILES
  631. .sp
  632. Syncing configuration files between devices (such that multiple devices are
  633. using the same configuration files) can cause issues. This is easy to do
  634. accidentally if you sync your home folder between devices. A common symptom
  635. of syncing configuration files is two devices ending up with the same Device ID.
  636. .sp
  637. If you want to use Syncthing to backup your configuration files, it is recommended
  638. that the files you are backing up are in a folder\-master to prevent other
  639. devices from overwriting the per device configuration. The folder on the remote
  640. device(s) should not be used as configuration for the remote devices.
  641. .sp
  642. If you\(aqd like to sync your home folder in non\-master mode, you may add the
  643. folder that stores the configuration files to the ignore list\&.
  644. If you\(aqd also like to backup your configuration files, add another folder in
  645. master mode for just the configuration folder.
  646. .SH AUTHOR
  647. The Syncthing Authors
  648. .SH COPYRIGHT
  649. 2015, The Syncthing Authors
  650. .\" Generated by docutils manpage writer.
  651. .