|
|
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
|
..
|
|
|
-.TH "SYNCTHING" "1" "Feb 23, 2022" "v1" "Syncthing"
|
|
|
+.TH "SYNCTHING" "1" "Mar 03, 2022" "v1" "Syncthing"
|
|
|
.SH NAME
|
|
|
syncthing \- Syncthing
|
|
|
.SH SYNOPSIS
|
|
|
@@ -537,10 +537,17 @@ Write a CPU profile to \fBcpu\-$pid.pprof\fP on exit.
|
|
|
Used for debugging internal deadlocks; sets debug sensitivity. Use only
|
|
|
under direction of a developer.
|
|
|
.TP
|
|
|
-.B STDEADLOCKTHRESHOLD
|
|
|
+.B STLOCKTHRESHOLD
|
|
|
Used for debugging internal deadlocks; sets debug sensitivity. Use only
|
|
|
under direction of a developer.
|
|
|
.TP
|
|
|
+.B STGUIADDRESS
|
|
|
+Override GUI listen address. Equivalent to passing \fI\%\-\-gui\-address\fP\&.
|
|
|
+.TP
|
|
|
+.B STGUIAPIKEY
|
|
|
+Override the API key needed to access the GUI / REST API. Equivalent to
|
|
|
+passing \fI\%\-\-gui\-apikey\fP\&.
|
|
|
+.TP
|
|
|
.B STGUIASSETS
|
|
|
Directory to load GUI assets from. Overrides compiled in assets. Useful for
|
|
|
developing webgui, commonly use \fBSTGUIASSETS=gui bin/syncthing\fP\&.
|
|
|
@@ -557,13 +564,13 @@ increases.
|
|
|
.B STNODEFAULTFOLDER
|
|
|
Don’t create a default folder when starting for the first time. This
|
|
|
variable will be ignored anytime after the first run. Equivalent to the
|
|
|
-\fB\-\-no\-default\-folder\fP flag.
|
|
|
+\fI\%\-\-no\-default\-folder\fP flag.
|
|
|
.TP
|
|
|
.B STNORESTART
|
|
|
-Equivalent to the \fB\-\-no\-restart\fP flag.
|
|
|
+Equivalent to the \fI\%\-\-no\-restart\fP flag.
|
|
|
.TP
|
|
|
.B STNOUPGRADE
|
|
|
-Disable automatic upgrades. Equivalent to the \fB\-\-no\-upgrade\fP flag.
|
|
|
+Disable automatic upgrades. Equivalent to the \fI\%\-\-no\-upgrade\fP flag.
|
|
|
.TP
|
|
|
.B STPROFILER
|
|
|
Set to a listen address such as “127.0.0.1:9090” to start the profiler with
|
|
|
@@ -577,10 +584,14 @@ Windows.
|
|
|
.TP
|
|
|
.B STRECHECKDBEVERY
|
|
|
Time before folder statistics (file, dir, … counts) are recalculated from
|
|
|
-scratch. The given duration must be parseable by Go’s time.ParseDuration. If
|
|
|
+scratch. The given duration must be parseable by Go’s \fBtime.ParseDuration\fP\&. If
|
|
|
missing or not parseable, the default value of 1 month is used. To force
|
|
|
recalculation on every startup, set it to \fB1s\fP\&.
|
|
|
.TP
|
|
|
+.B STGCINDIRECTEVERY
|
|
|
+Sets the time interval in between database garbage collection runs. The
|
|
|
+given duration must be parseable by Go’s \fBtime.ParseDuration\fP\&.
|
|
|
+.TP
|
|
|
.B GOMAXPROCS
|
|
|
Set the maximum number of CPU cores to use. Defaults to all available CPU
|
|
|
cores.
|
|
|
@@ -589,6 +600,10 @@ cores.
|
|
|
Percentage of heap growth at which to trigger GC. Default is 100. Lower
|
|
|
numbers keep peak memory usage down, at the price of CPU usage
|
|
|
(i.e. performance).
|
|
|
+.TP
|
|
|
+.B LOGGER_DISCARD
|
|
|
+Hack to completely disable logging, for example when running benchmarks.
|
|
|
+Set to any nonempty value to use it.
|
|
|
.UNINDENT
|
|
|
.SH SEE ALSO
|
|
|
.sp
|