From ef33f263156fedd0907c45b033dee569f56f9ec8 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 23 Jun 2017 18:19:49 +0200 Subject: [PATCH] Prevent Syncthing auto-upgrade and restart. --- lib/syncthing/st.go | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.16.6