Needs super user rights using install-agl-sdks.sh
[src/xds/xds-server.git] / lib / syncthing / st.go
index 75bdf80..3380cda 100644 (file)
@@ -20,7 +20,7 @@ import (
        "regexp"
 
        "github.com/Sirupsen/logrus"
-       "github.com/iotbzh/xds-server/lib/common"
+       common "github.com/iotbzh/xds-common/golib"
        "github.com/iotbzh/xds-server/lib/xdsconfig"
        "github.com/syncthing/syncthing/lib/config"
 )
@@ -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)