Skip to content

Commit c118b8d

Browse files
authored
rest,, users/config: Remove deprecated restartOnWakeup (#815)
The option "restartOnWakeup" was removed in Syncthing v1.21.0 [1]. Thus, remove it from the Docs too, as it is no longer functional and may confuse new users [2]. [1] syncthing/syncthing#8448 [2] syncthing/syncthing-android#1961 Signed-off-by: Tomasz Wilczyński <[email protected]>
1 parent 6591f4e commit c118b8d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

rest/system-config-get.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ Returns the current configuration.
144144
"urURL": "https://data.syncthing.net/newdata",
145145
"urPostInsecurely": false,
146146
"urInitialDelayS": 1800,
147-
"restartOnWakeup": true,
148147
"autoUpgradeIntervalH": 12,
149148
"upgradeToPreReleases": false,
150149
"keepTemporariesH": 24,

users/config.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ The following shows an example of a default configuration file (IDs will differ)
157157
<urURL>https://data.syncthing.net/newdata</urURL>
158158
<urPostInsecurely>false</urPostInsecurely>
159159
<urInitialDelayS>1800</urInitialDelayS>
160-
<restartOnWakeup>true</restartOnWakeup>
161160
<autoUpgradeIntervalH>12</autoUpgradeIntervalH>
162161
<upgradeToPreReleases>false</upgradeToPreReleases>
163162
<keepTemporariesH>24</keepTemporariesH>
@@ -978,7 +977,6 @@ Options Element
978977
<urURL>https://data.syncthing.net/newdata</urURL>
979978
<urPostInsecurely>false</urPostInsecurely>
980979
<urInitialDelayS>1800</urInitialDelayS>
981-
<restartOnWakeup>true</restartOnWakeup>
982980
<autoUpgradeIntervalH>12</autoUpgradeIntervalH>
983981
<upgradeToPreReleases>false</upgradeToPreReleases>
984982
<keepTemporariesH>24</keepTemporariesH>
@@ -1116,11 +1114,6 @@ The ``options`` element contains all other global configuration options.
11161114
The time to wait from startup for the first usage report to be sent. Allows
11171115
the system to stabilize before reporting statistics.
11181116

1119-
.. option:: options.restartOnWakeup
1120-
1121-
Whether to perform a restart of Syncthing when it is detected that we are
1122-
waking from sleep mode (i.e. an unfolding laptop).
1123-
11241117
.. option:: options.autoUpgradeIntervalH
11251118

11261119
Check for a newer version after this many hours. Set to ``0`` to disable

0 commit comments

Comments
 (0)