Code Review
/
src
/
xds
/
xds-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
bb19946
)
Prevent Syncthing auto-upgrade and restart.
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Fri, 23 Jun 2017 16:19:49 +0000
(18:19 +0200)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Fri, 23 Jun 2017 16:19:49 +0000
(18:19 +0200)
lib/syncthing/st.go
patch
|
blob
|
history
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)