mirror of
https://github.com/jkstack/libagent.git
synced 2025-12-24 12:11:57 +08:00
修改服务启动参数
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user