syncthing-config.5 20 KB

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