(ctx context.Context, args []string)
| 62 | } |
| 63 | |
| 64 | func startCmd(ctx context.Context, args []string) { |
| 65 | log, service, sock, path, dumpSpec := parseCmd(ctx, "start", args) |
| 66 | |
| 67 | log.Infof("Starting service: %q", service) |
| 68 | id, pid, msg, err := start(ctx, service, sock, path, dumpSpec) |
| 69 | if err != nil { |
| 70 | log.WithError(err).Fatal(msg) |
| 71 | } |
| 72 | |
| 73 | log.Debugf("Started %s pid %d", id, pid) |
| 74 | } |
| 75 | |
| 76 | func restartCmd(ctx context.Context, args []string) { |
| 77 | // validate arguments with the command as "restart" |
no test coverage detected