diff options
Diffstat (limited to 'datarouter-prov/src/main/resources/misc/drtrprov')
-rw-r--r-- | datarouter-prov/src/main/resources/misc/drtrprov | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/datarouter-prov/src/main/resources/misc/drtrprov b/datarouter-prov/src/main/resources/misc/drtrprov index c801ce04..2afb6ecb 100644 --- a/datarouter-prov/src/main/resources/misc/drtrprov +++ b/datarouter-prov/src/main/resources/misc/drtrprov @@ -1,18 +1,24 @@ #!/bin/bash +# ============LICENSE_START======================================================= +# org.onap.dmaap +# ================================================================================ +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. +# ================================================================================ +# 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 # -# AT&T - PROPRIETARY -# THIS FILE CONTAINS PROPRIETARY INFORMATION OF -# AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN -# ACCORDANCE WITH APPLICABLE AGREEMENTS. +# http://www.apache.org/licenses/LICENSE-2.0 # -# Copyright (c) 2013 AT&T Knowledge Ventures -# Unpublished and Not for Publication -# All Rights Reserved -# -# This is the startup/shutdown script for the AT&T Data Router Provisioning Server. -# -# $Id: drtrprov,v 1.3 2013/10/29 16:57:57 eby Exp $ +# 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. +# ============LICENSE_END========================================================= # +# ECOMP is a trademark and service mark of AT&T Intellectual Property. + umask 0022 @@ -60,7 +66,7 @@ start() { exit 0 fi echo '0 1 * * * /opt/app/datartr/bin/runreports' | crontab - nohup java $JAVA_OPTS com.att.research.datarouter.provisioning.Main </dev/null & + nohup java $JAVA_OPTS org.onap.dmaap.datarouter.provisioning.Main </dev/null & sleep 5 PIDS=`pids` if [ "$PIDS" = "" ] |