summaryrefslogtreecommitdiffstats
path: root/lib/syncthing/st.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-23 18:19:49 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-23 18:19:49 +0200
commitef33f263156fedd0907c45b033dee569f56f9ec8 (patch)
tree57d8aae9b30faae72dcaa4b1f5828e1b8a9f9c77 /lib/syncthing/st.go
parentbb199466565b97a731f58438bea4778c5763ceae (diff)
Prevent Syncthing auto-upgrade and restart.
Diffstat (limited to 'lib/syncthing/st.go')
-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)