Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Update main.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Sep 16, 2016
1 parent a2fcc01 commit 4a75186
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions container_files/bin/main.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
#!/bin/bash -x

# Licensed to the University Corporation for Advanced Internet Development,
# Inc. (UCAID) under one or more contributor license agreements. See the
# NOTICE file distributed with this work for additional information regarding
# copyright ownership. The UCAID 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.
#
log="/tmp/start-main.log"

echo "Starting Container: " > $log
Expand All @@ -17,4 +31,4 @@ if [ -e "/tmp/firsttimerunning" ]; then
else
echo "COmanage container has run." >> $log
echo "If there are problems, docker rm this container and try again." >> $log
fi
fi

0 comments on commit 4a75186

Please sign in to comment.