Reset option to allow synthing restart
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 24 Aug 2017 22:15:46 +0000 (00:15 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 24 Aug 2017 22:15:46 +0000 (00:15 +0200)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
lib/syncthing/st.go

index 88d0eb0..53e4688 100644 (file)
@@ -170,7 +170,6 @@ func (s *SyncThing) Start() (*exec.Cmd, error) {
        env := []string{
                "STNODEFAULTFOLDER=1",
                "STNOUPGRADE=1",
-               "STNORESTART=1",
        }
 
        // XXX - temporary hack because -gui-apikey seems to correctly handle by