Code Review
/
src
/
xds
/
xds-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Prevent Syncthing auto-upgrade and restart.
[src/xds/xds-server.git]
/
lib
/
syncthing
/
st.go
diff --git
a/lib/syncthing/st.go
b/lib/syncthing/st.go
index
75bdf80
..
e4506a5
100644
(file)
--- a/
lib/syncthing/st.go
+++ b/
lib/syncthing/st.go
@@
-210,6
+210,8
@@
func (s *SyncThing) Start() (*exec.Cmd, error) {
env := []string{
"STNODEFAULTFOLDER=1",
+ "STNOUPGRADE=1",
+ "STNORESTART=1",
}
s.STCmd, err = s.startProc("syncthing", args, env, &s.exitSTChan)