X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=scripts%2Fxds-server-stop.sh;h=c534e8f645261540adb8e1836036fb7cbba628c7;hb=e9fa58ca8a03f03e6022955fd4934e6fda5876ee;hp=8a6bf5e285f71a821e645023a5da21d4cf30414e;hpb=472d4b34027f37b05f10d5558d28d6c6bca74ff2;p=src%2Fxds%2Fxds-server.git diff --git a/scripts/xds-server-stop.sh b/scripts/xds-server-stop.sh index 8a6bf5e..c534e8f 100755 --- a/scripts/xds-server-stop.sh +++ b/scripts/xds-server-stop.sh @@ -1,4 +1,21 @@ #!/bin/bash + ########################################################################### +# Copyright 2017 IoT.bzh +# +# author: Sebastien Douheret +# +# 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. +########################################################################### # Stop it gracefully pkill -INT xds-server @@ -16,3 +33,4 @@ if [ "$nbProc" != "0" ]; then pkill -KILL syncthing-inotify fi +exit 0