This is an automated email from the ASF dual-hosted git repository.

zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git


The following commit(s) were added to refs/heads/master by this push:
     new 4e81fbeb [horus] Add restart script (#409)
4e81fbeb is described below

commit 4e81fbeb057919aa8b4def4fab1fed8b86b9898e
Author: mfordjody <[email protected]>
AuthorDate: Tue Oct 1 10:21:11 2024 +0800

    [horus] Add restart script (#409)
---
 app/horus/core/horuser/script/restart.sh | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/app/horus/core/horuser/script/restart.sh 
b/app/horus/core/horuser/script/restart.sh
new file mode 100644
index 00000000..d126fdbe
--- /dev/null
+++ b/app/horus/core/horuser/script/restart.sh
@@ -0,0 +1,25 @@
+#!/usr/bin/env 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.
+
+host_computer=$1
+host_name=$2
+host_pass=$3
+
+if [ $# -lt 2 ]; then
+  echo "ERROR:The expected value is parameter 2, but there is only 1 input 
paramter."
+  exit 1
+fi
\ No newline at end of file

Reply via email to