Skip to content

Commit

Permalink
Merge pull request #15 from JeremyRand/goxsys-svc
Browse files Browse the repository at this point in the history
Switch to upstream goxsys/svc
  • Loading branch information
hlandau committed Mar 2, 2021
2 parents 0496f91 + e4af63e commit 0e0d7e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package service

import (
"fmt"
"github.com/btcsuite/winsvc/mgr"
"github.com/btcsuite/winsvc/svc"
"golang.org/x/sys/windows/svc"
"golang.org/x/sys/windows/svc/mgr"
"gopkg.in/hlandau/easyconfig.v1/cflag"
"gopkg.in/hlandau/svcutils.v1/exepath"
"os"
Expand Down Expand Up @@ -205,7 +205,7 @@ func (info *Info) startService() error {
}
defer service.Close()

err = service.Start(os.Args)
err = service.Start(os.Args...)
if err != nil {
return fmt.Errorf("could not start service: %v", err)
}
Expand Down

0 comments on commit 0e0d7e6

Please sign in to comment.