From 0fd74c543be0b4b59939ee2dd2d8ffe1de779d93 Mon Sep 17 00:00:00 2001 From: Yun Huang Date: Mon, 12 Feb 2018 16:05:54 +0800 Subject: Update License header Change-Id: Ieedc303238ac11416c4ce640b9a32c3f4d7b86da Issue-ID: MULTICLOUD-140 Signed-off-by: Yun Huang --- windriver/README.md | 9 ++++++--- windriver/assembly.xml | 23 +++++++++++++---------- windriver/initialize.sh | 9 ++++++--- windriver/manage.py | 9 ++++++--- windriver/pom.xml | 23 +++++++++++++---------- windriver/run.sh | 11 ++++++----- windriver/stop.sh | 11 ++++++----- 7 files changed, 56 insertions(+), 39 deletions(-) (limited to 'windriver') diff --git a/windriver/README.md b/windriver/README.md index 3de1facc..37d8619d 100644 --- a/windriver/README.md +++ b/windriver/README.md @@ -1,12 +1,15 @@ -# Copyright (c) 2017 Wind River Systems, Inc. +# Copyright 2017-2018 Wind River Systems, Inc. # # 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 +# 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. # Micro service of MultiCloud plugin for Wind River Titanium Cloud. diff --git a/windriver/assembly.xml b/windriver/assembly.xml index ef3a749f..0a33b071 100644 --- a/windriver/assembly.xml +++ b/windriver/assembly.xml @@ -1,14 +1,17 @@ diff --git a/windriver/run.sh b/windriver/run.sh index ddf92da2..69db6a14 100644 --- a/windriver/run.sh +++ b/windriver/run.sh @@ -1,16 +1,17 @@ #!/bin/bash -# Copyright (c) 2017 Wind River Systems, Inc. +# Copyright 2017-2018 Wind River Systems, Inc. # # 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 +# 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. - -#!/bin/bash +# See the License for the specific language governing permissions and +# limitations under the License. sed -i "s/MSB_SERVICE_ADDR =.*/MSB_SERVICE_ADDR = \"${MSB_ADDR}\"/g" titanium_cloud/pub/config/config.py sed -i "s/MSB_SERVICE_PORT =.*/MSB_SERVICE_PORT = \"${MSB_PORT}\"/g" titanium_cloud/pub/config/config.py diff --git a/windriver/stop.sh b/windriver/stop.sh index 10ce7464..16b87278 100644 --- a/windriver/stop.sh +++ b/windriver/stop.sh @@ -1,16 +1,17 @@ #!/bin/bash -# Copyright (c) 2017 Wind River Systems, Inc. +# Copyright 2017-2018 Wind River Systems, Inc. # # 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 +# 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. - -#!/bin/bash +# See the License for the specific language governing permissions and +# limitations under the License. ps auxww | grep 'manage.py runserver 0.0.0.0:9005' | awk '{print $2}' | xargs kill -9 ps auxww | grep 'memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9 -- cgit 1.2.3-korg