aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/syncthing/st.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/syncthing/st.go b/lib/syncthing/st.go
index 75bdf80..e4506a5 100644
--- 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)