syncthing-config.5 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH "SYNCTHING-CONFIG" "5" "January 30, 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\-\fI*\fP\&.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. .ft P
  288. .fi
  289. .UNINDENT
  290. .UNINDENT
  291. .sp
  292. One or more \fBdevice\fP elements must be present in the file. Each element
  293. describes a device participating in the cluster. It is customary to include a
  294. \fBdevice\fP element for the local device; Syncthing will currently add one if
  295. it is not present. The following attributes may be set on the \fBdevice\fP
  296. element:
  297. .INDENT 0.0
  298. .TP
  299. .B id
  300. The device ID. This must be written in canonical form, that is without any
  301. spaces or dashes. (mandatory)
  302. .TP
  303. .B name
  304. A friendly name for the device. (optional)
  305. .TP
  306. .B compression
  307. Whether to use protocol compression when sending messages to this device.
  308. The possible values are:
  309. .INDENT 7.0
  310. .TP
  311. .B metadata
  312. Compress metadata packets, such as index information. Metadata is
  313. usually very compression friendly so this is a good default.
  314. .TP
  315. .B always
  316. Compress all packets, including file data. This is recommended if the
  317. folders contents are mainly compressible data such as documents or
  318. text files.
  319. .TP
  320. .B never
  321. Disable all compression.
  322. .UNINDENT
  323. .TP
  324. .B introducer
  325. Set to true if this device should be trusted as an introducer, i.e. we
  326. should copy their list of devices per folder when connecting.
  327. .UNINDENT
  328. .sp
  329. In addition, one or more \fBaddress\fP child elements must be present. Each
  330. contains an address to use when attempting to connect to this device and will
  331. be tried in order. Accepted formats are:
  332. .INDENT 0.0
  333. .TP
  334. .B IPv4 address (\fB192.0.2.42\fP)
  335. The default port (22000) is used.
  336. .TP
  337. .B IPv4 address and port (\fB192.0.2.42:12345\fP)
  338. The address and port is used as given.
  339. .TP
  340. .B IPv6 address (\fB2001:db8::23:42\fP)
  341. The default port (22000) is used.
  342. .TP
  343. .B IPv6 address and port (\fB[2001:db8::23:42]:12345\fP)
  344. The address and port is used as given. The address must be enclosed in
  345. square brackets.
  346. .TP
  347. .B \fBdynamic\fP
  348. The word \fBdynamic\fP means to use local and global discovery to find the
  349. device.
  350. .UNINDENT
  351. .SH IGNOREDDEVICE ELEMENT
  352. .INDENT 0.0
  353. .INDENT 3.5
  354. .sp
  355. .nf
  356. .ft C
  357. <ignoredDevice>5SYI2FS\-LW6YAXI\-JJDYETS\-NDBBPIO\-256MWBO\-XDPXWVG\-24QPUM4\-PDW4UQU</ignoredDevice>
  358. .ft P
  359. .fi
  360. .UNINDENT
  361. .UNINDENT
  362. .sp
  363. 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.
  364. .SH GUI ELEMENT
  365. .INDENT 0.0
  366. .INDENT 3.5
  367. .sp
  368. .nf
  369. .ft C
  370. <gui enabled="true" tls="false">
  371. <address>127.0.0.1:8384</address>
  372. <apikey>l7jSbCqPD95JYZ0g8vi4ZLAMg3ulnN1b</apikey>
  373. </gui>
  374. .ft P
  375. .fi
  376. .UNINDENT
  377. .UNINDENT
  378. .sp
  379. There must be exactly one \fBgui\fP element. The GUI configuration is also used
  380. by the rest\-api and the event\-api\&. The following attributes may
  381. be set on the \fBgui\fP element:
  382. .INDENT 0.0
  383. .TP
  384. .B enabled
  385. If not \fBtrue\fP, the GUI and API will not be started.
  386. .TP
  387. .B tls
  388. If set to \fBtrue\fP, TLS (HTTPS) will be enforced. Non\-HTTPS requests will
  389. be redirected to HTTPS. When this is set to \fBfalse\fP, TLS connections are
  390. still possible but it is not mandatory.
  391. .UNINDENT
  392. .sp
  393. The following child elements may be present:
  394. .INDENT 0.0
  395. .TP
  396. .B address
  397. Set the listen addresses. One or more address elements must be present.
  398. Allowed address formats are:
  399. .INDENT 7.0
  400. .TP
  401. .B IPv4 address and port (\fB127.0.0.1:8384\fP)
  402. The address and port is used as given.
  403. .TP
  404. .B IPv6 address and port (\fB[::1]:8384\fP)
  405. The address and port is used as given. The address must be enclosed in
  406. square brackets.
  407. .TP
  408. .B Wildcard and port (\fB0.0.0.0:12345\fP, \fB[::]:12345\fP, \fB:12345\fP)
  409. These are equivalent and will result in Syncthing listening on all
  410. interfaces and both IPv4 and IPv6.
  411. .UNINDENT
  412. .TP
  413. .B username
  414. Set to require authentication.
  415. .TP
  416. .B password
  417. Contains the bcrypt hash of the real password.
  418. .TP
  419. .B apikey
  420. If set, this is the API key that enables usage of the REST interface.
  421. .UNINDENT
  422. .SH OPTIONS ELEMENT
  423. .INDENT 0.0
  424. .INDENT 3.5
  425. .sp
  426. .nf
  427. .ft C
  428. <options>
  429. <listenAddress>tcp://0.0.0.0:22000</listenAddress>
  430. <globalAnnounceServer>default</globalAnnounceServer>
  431. <globalAnnounceEnabled>true</globalAnnounceEnabled>
  432. <localAnnounceEnabled>true</localAnnounceEnabled>
  433. <localAnnouncePort>21027</localAnnouncePort>
  434. <localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
  435. <relayServer>dynamic+https://relays.syncthing.net/endpoint</relayServer>
  436. <maxSendKbps>0</maxSendKbps>
  437. <maxRecvKbps>0</maxRecvKbps>
  438. <reconnectionIntervalS>60</reconnectionIntervalS>
  439. <relaysEnabled>true</relaysEnabled>
  440. <relayReconnectIntervalM>10</relayReconnectIntervalM>
  441. <relayWithoutGlobalAnn>false</relayWithoutGlobalAnn>
  442. <startBrowser>true</startBrowser>
  443. <upnpEnabled>true</upnpEnabled>
  444. <upnpLeaseMinutes>60</upnpLeaseMinutes>
  445. <upnpRenewalMinutes>30</upnpRenewalMinutes>
  446. <upnpTimeoutSeconds>10</upnpTimeoutSeconds>
  447. <urAccepted>0</urAccepted>
  448. <urUniqueID></urUniqueID>
  449. <urURL>https://data.syncthing.net/newdata</urURL>
  450. <urPostInsecurely>false</urPostInsecurely>
  451. <urInitialDelayS>1800</urInitialDelayS>
  452. <restartOnWakeup>true</restartOnWakeup>
  453. <autoUpgradeIntervalH>12</autoUpgradeIntervalH>
  454. <keepTemporariesH>24</keepTemporariesH>
  455. <cacheIgnoredFiles>true</cacheIgnoredFiles>
  456. <progressUpdateIntervalS>5</progressUpdateIntervalS>
  457. <symlinksEnabled>true</symlinksEnabled>
  458. <limitBandwidthInLan>false</limitBandwidthInLan>
  459. <databaseBlockCacheMiB>0</databaseBlockCacheMiB>
  460. <minHomeDiskFreePct>1</minHomeDiskFreePct>
  461. <releasesURL>https://api.github.com/repos/syncthing/syncthing/releases?per_page=30</releasesURL>
  462. </options>
  463. .ft P
  464. .fi
  465. .UNINDENT
  466. .UNINDENT
  467. .sp
  468. The \fBoptions\fP element contains all other global configuration options.
  469. .INDENT 0.0
  470. .TP
  471. .B listenAddress
  472. The listen address for incoming sync connections. See the \fBaddress\fP
  473. element under the \fI\%GUI Element\fP for allowed syntax, with the addition
  474. that the address must have a protocol scheme prefix. Currently \fBtcp://\fP
  475. is the only supported protocol scheme.
  476. .TP
  477. .B globalAnnounceServer
  478. A URI to a global announce (discovery) server, or the word \fBdefault\fP to
  479. include the default servers. Any number of globalAnnounceServer elements
  480. may be present. The syntax for non\-default entries is that of a HTTP or
  481. HTTPS URL. A number of options may be added as query options to the URL:
  482. \fBinsecure\fP to prevent certificate validation (required for HTTP URLs)
  483. and \fBid=<device ID>\fP to perform certificate pinning. The device ID to
  484. use is printed by the discovery server on startup.
  485. .TP
  486. .B globalAnnounceEnabled
  487. Whether to announce this device to the global announce (discovery) server,
  488. and also use it to look up other devices.
  489. .TP
  490. .B localAnnounceEnabled
  491. Whether to send announcements to the local LAN, also use such
  492. announcements to find other devices.
  493. .TP
  494. .B localAnnouncePort
  495. The port on which to listen and send IPv4 broadcast announcements to.
  496. .TP
  497. .B localAnnounceMCAddr
  498. The group address and port to join and send IPv6 multicast announcements on.
  499. .TP
  500. .B relayServer
  501. Lists one or more relay servers, on the format \fBrelay://hostname:port\fP\&.
  502. Alternatively, a relay list can be loaded over https by using an URL like
  503. \fBdynamic+https://somehost/path\fP\&. The default loads the list of relays
  504. from the relay pool server, \fBrelays.syncthing.net\fP\&.
  505. .TP
  506. .B maxSendKbps
  507. Outgoing data rate limit, in kibibits per second.
  508. .TP
  509. .B maxRecvKbps
  510. Incoming data rate limits, in kibibits per second.
  511. .TP
  512. .B reconnectionIntervalS
  513. The number of seconds to wait between each attempt to connect to currently
  514. unconnected devices.
  515. .TP
  516. .B relaysEnabled
  517. When true, relays will be connected to and potentially used for device to device connections.
  518. .TP
  519. .B relayReconnectIntervalM
  520. Sets the interval, in minutes, between relay reconnect attempts.
  521. .TP
  522. .B relayWithoutGlobalAnn
  523. When set to true, relay connections will be attempted even when global
  524. discovery is disabled. This is useful only in the case where devices are
  525. known to be connected to the same relays. The default is \fBfalse\fP\&.
  526. .TP
  527. .B startBrowser
  528. Whether to attempt to start a browser to show the GUI when Syncthing starts.
  529. .TP
  530. .B upnpEnabled
  531. Whether to attempt to perform an UPnP port mapping for incoming sync
  532. connections.
  533. .TP
  534. .B upnpLeaseMinutes
  535. Request a lease for this many minutes; zero to request a permanent lease.
  536. .TP
  537. .B upnpRenewalMinutes
  538. Attempt to renew the lease after this many minutes.
  539. .TP
  540. .B upnpTimeoutSeconds
  541. When scanning for UPnP devices, wait this long for responses.
  542. .TP
  543. .B urAccepted
  544. Whether the user has accepted to submit anonymous usage data. The default,
  545. \fB0\fP, mean the user has not made a choice, and Syncthing will ask at some
  546. point in the future. \fB\-1\fP means no, a number above zero means that that
  547. version of usage reporting has been accepted.
  548. .TP
  549. .B urUniqueID
  550. The unique ID sent together with the usage report. Generated when usage
  551. reporting is enabled.
  552. .TP
  553. .B urURL
  554. The URL to post usage report data to, when enabled.
  555. .TP
  556. .B urPostInsecurely
  557. When true, the UR URL can be http instead of https, or have a self\-signed
  558. certificate. The default is \fBfalse\fP\&.
  559. .TP
  560. .B urInitialDelayS
  561. The time to wait from startup to the first usage report being sent. Allows
  562. the system to stabilize before reporting statistics.
  563. .TP
  564. .B restartOnWakeup
  565. Whether to perform a restart of Syncthing when it is detected that we are
  566. waking from sleep mode (i.e. a folded up laptop).
  567. .TP
  568. .B autoUpgradeIntervalH
  569. Check for a newer version after this many hours. Set to zero to disable
  570. automatic upgrades.
  571. .TP
  572. .B keepTemporariesH
  573. Keep temporary failed transfers for this many hours. While the temporaries
  574. are kept, the data they contain need not be transferred again.
  575. .TP
  576. .B cacheIgnoredFiles
  577. Whether to cache the results of ignore pattern evaluation. Performance at
  578. the price of memory.
  579. .TP
  580. .B progressUpdateIntervalS
  581. How often in seconds the progress of ongoing downloads is made available to
  582. the GUI.
  583. .TP
  584. .B symlinksEnabled
  585. Whether to sync symlinks, if supported by the system.
  586. .TP
  587. .B limitBandwidthInLan
  588. Whether to apply bandwidth limits to devices in the same broadcast domain
  589. as the local device.
  590. .TP
  591. .B databaseBlockCacheMiB
  592. Override the automatically calculated database block cache size. Don\(aqt,
  593. unless you\(aqre very short on memory, in which case you want to set this to
  594. \fB8\fP\&.
  595. .TP
  596. .B pingTimeoutS
  597. Ping\-timeout in seconds. Don\(aqt change it unless you are having issues due to
  598. slow response time (slow connection/cpu) and large index exchanges.
  599. .TP
  600. .B pingIdleTimeS
  601. Ping interval in seconds. Don\(aqt change it unless you feel it\(aqs necessary.
  602. .TP
  603. .B minHomeDiskFreePct
  604. The percentage of space that should be available on the partition holding
  605. the configuration and index.
  606. .TP
  607. .B releasesURL
  608. The URL from which release information is loaded, for automatic upgrades.
  609. .UNINDENT
  610. .SH SYNCING CONFIGURATION FILES
  611. .sp
  612. Syncing configuration files between devices (such that multiple devices are
  613. using the same configuration files) can cause issues. This is easy to do
  614. accidentally if you sync your home folder between devices. A common symptom
  615. of syncing configuration files is two devices ending up with the same Device ID.
  616. .sp
  617. If you want to use Syncthing to backup your configuration files, it is recommended
  618. that the files you are backing up are in a folder\-master to prevent other
  619. devices from overwriting the per device configuration. The folder on the remote
  620. device(s) should not be used as configuration for the remote devices.
  621. .sp
  622. If you\(aqd like to sync your home folder in non\-master mode, you may add the
  623. folder that stores the configuration files to the ignore list\&.
  624. If you\(aqd also like to backup your configuration files, add another folder in
  625. master mode for just the configuration folder.
  626. .SH AUTHOR
  627. The Syncthing Authors
  628. .SH COPYRIGHT
  629. 2015, The Syncthing Authors
  630. .\" Generated by docutils manpage writer.
  631. .