Update proxy #133
|
|
@ -8,6 +8,8 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"github.com/sirupsen/logrus"
|
||||
"os"
|
||||
"time"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
@ -16,7 +18,8 @@ func main() {
|
|||
logrus.Error(errors.New(fmt.Sprintf("failed to init service: %v", err)))
|
||||
return
|
||||
}
|
||||
select {}
|
||||
time.Sleep(1 * time.Second)
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
func initService() error {
|
||||
|
|
|
|||
Loading…
Reference in New Issue