aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'deployment')
-rw-r--r--deployment/zip/src/main/release/bin/oclip-service.sh16
-rw-r--r--deployment/zip/src/main/release/conf/oclip.service15
2 files changed, 31 insertions, 0 deletions
diff --git a/deployment/zip/src/main/release/bin/oclip-service.sh b/deployment/zip/src/main/release/bin/oclip-service.sh
index 897a6052..e98f33cc 100644
--- a/deployment/zip/src/main/release/bin/oclip-service.sh
+++ b/deployment/zip/src/main/release/bin/oclip-service.sh
@@ -1,4 +1,20 @@
#! /bin/bash
+#*******************************************************************************
+# Copyright 2020 Huawei Technologies Co., Ltd.
+#
+# Licensed 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.
+#*******************************************************************************
+
export OPEN_CLI_HOME=/opt/oclip
$OPEN_CLI_HOME/bin/oclip-grpc-server.sh
diff --git a/deployment/zip/src/main/release/conf/oclip.service b/deployment/zip/src/main/release/conf/oclip.service
index 1492ac0d..23a2c5b0 100644
--- a/deployment/zip/src/main/release/conf/oclip.service
+++ b/deployment/zip/src/main/release/conf/oclip.service
@@ -1,3 +1,18 @@
+#*******************************************************************************
+# Copyright 2020 Huawei Technologies Co., Ltd.
+#
+# Licensed 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.
+#*******************************************************************************
#
#systemd file: /etc/systemd/system/oclip.service
#