This is an automated email from the ASF dual-hosted git repository. dockerzhang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push: new 092e581c1 [INLONG-6239][InLong] Add inlongctl in the root directory (#6240) 092e581c1 is described below commit 092e581c175bc7cf1ff9832e7518a49b880cbe71 Author: haifxu <xhf1208357...@gmail.com> AuthorDate: Fri Oct 21 10:04:15 2022 +0800 [INLONG-6239][InLong] Add inlongctl in the root directory (#6240) Co-authored-by: healchow <healc...@gmail.com> --- bin/inlongctl | 25 ++++++++++++++++++++++ .../src/main/assemblies/release.xml | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/bin/inlongctl b/bin/inlongctl new file mode 100644 index 000000000..bc1912281 --- /dev/null +++ b/bin/inlongctl @@ -0,0 +1,25 @@ +#! /bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +INLONG_HOME=$( + # shellcheck disable=SC2164 + cd "$(dirname $0)" + cd .. + pwd +) + +bash +x $INLONG_HOME/inlong-manager/bin/managerctl $* diff --git a/inlong-distribution/src/main/assemblies/release.xml b/inlong-distribution/src/main/assemblies/release.xml index ccc2b43c8..104180208 100644 --- a/inlong-distribution/src/main/assemblies/release.xml +++ b/inlong-distribution/src/main/assemblies/release.xml @@ -151,14 +151,14 @@ <outputDirectory>./</outputDirectory> </fileSet> - <!-- package InLong Standalone bin--> + <!-- package InLong bin--> <fileSet> <directory>../bin</directory> <outputDirectory>bin</outputDirectory> <fileMode>0755</fileMode> <lineEnding>unix</lineEnding> </fileSet> - <!-- package InLong Standalone conf--> + <!-- package InLong conf--> <fileSet> <directory>../conf</directory> <outputDirectory>conf</outputDirectory>