Prevent Syncthing auto-upgrade and restart.
[src/xds/xds-server.git] / lib / syncthing / st.go
index 75bdf80..e4506a5 100644 (file)
@@ -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)