diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-23 18:19:49 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-23 18:19:49 +0200 |
commit | ef33f263156fedd0907c45b033dee569f56f9ec8 (patch) | |
tree | 57d8aae9b30faae72dcaa4b1f5828e1b8a9f9c77 /lib/syncthing/st.go | |
parent | bb199466565b97a731f58438bea4778c5763ceae (diff) |
Prevent Syncthing auto-upgrade and restart.
Diffstat (limited to 'lib/syncthing/st.go')
-rw-r--r-- | lib/syncthing/st.go | 2 |
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) |