From: Sebastien Douheret Date: Fri, 23 Jun 2017 16:19:49 +0000 (+0200) Subject: Prevent Syncthing auto-upgrade and restart. X-Git-Tag: v0.1.0-beta~12 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fxds%2Fxds-server.git;a=commitdiff_plain;h=ef33f263156fedd0907c45b033dee569f56f9ec8 Prevent Syncthing auto-upgrade and restart. --- 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)