Skip to content

Bug: The client-adapter/.../restart.sh file does not accept arguments #5148

@tasszz2k

Description

@tasszz2k

environment

  • canal version: 1.1.7
  • mysql version: 5.7

Issue Description

  • The client-adapter/launcher/src/main/bin/restart.sh file does not accept arguments. So that we cannot pass the debug options to the startup.sh script.

case $(uname) in
Linux)
bin_abs_path=$(readlink -f $(dirname $0))
;;
*)
bin_abs_path=$(cd $(dirname $0) ||exit ; pwd)
;;
esac
sh "$bin_abs_path"/stop.sh
sh "$bin_abs_path"/startup.sh

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions