Browse Source

修改服务名

zuoxiupeng 3 years ago
parent
commit
99482b6260
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main.go

+ 2 - 2
main.go

@@ -40,8 +40,8 @@ func (p *program) Stop(s service.Service) error {
 
 func main() {
 	svcConfig := &service.Config{
-		Name:        "htrd-agent",
-		DisplayName: "htrd-agent",
+		Name:        "sghx-agent",
+		DisplayName: "sghx-agent",
 		Description: "Host monitoring, monitoring of the host's basic information to the administrator a clear view of the view.",
 	}