修改服务启动参数

This commit is contained in:
lwch
2022-11-16 17:26:40 +08:00
parent aa179a02f3
commit ca5444b050

View File

@@ -25,7 +25,7 @@ func newService(app App) (builtinService, error) {
DisplayName: app.AgentName(),
Description: app.AgentName(),
UserName: user,
Arguments: []string{"-conf", app.ConfDir()},
Arguments: []string{"--conf", app.ConfDir()},
Dependencies: depends,
}
return service.New(&svr{app: newApp(app)}, appCfg)