From 08778395e45775ddf9da828f7a864d3e7557c277 Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Mon, 11 May 2009 14:38:47 +0000
Subject: [PATCH] SE-104 add scripts comments

SVN: 10990
---
 openbis_all/source/bash/all-down.sh   | 3 +++
 openbis_all/source/bash/all-up.sh     | 3 +++
 openbis_all/source/bash/bis-down.sh   | 3 +++
 openbis_all/source/bash/bis-log.sh    | 3 +++
 openbis_all/source/bash/bis-up.sh     | 3 +++
 openbis_all/source/bash/dss-down.sh   | 3 +++
 openbis_all/source/bash/dss-log.sh    | 3 +++
 openbis_all/source/bash/dss-up.sh     | 3 +++
 openbis_all/source/bash/svn-update.sh | 2 +-
 9 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/openbis_all/source/bash/all-down.sh b/openbis_all/source/bash/all-down.sh
index 536d44695c6..4d28a1db599 100755
--- a/openbis_all/source/bash/all-down.sh
+++ b/openbis_all/source/bash/all-down.sh
@@ -1,2 +1,5 @@
+#!/bin/bash
+# Shuts down openBIS and DSS
+
 dss-down.sh
 bis-down.sh
diff --git a/openbis_all/source/bash/all-up.sh b/openbis_all/source/bash/all-up.sh
index 25044d89cfd..b8b31ec9315 100755
--- a/openbis_all/source/bash/all-up.sh
+++ b/openbis_all/source/bash/all-up.sh
@@ -1,3 +1,6 @@
+#!/bin/bash
+# Starts up openBIS and DSS
+
 echo Starting openBIS.
 bis-up.sh
 echo Waiting 20 sec for openBIS to start up....
diff --git a/openbis_all/source/bash/bis-down.sh b/openbis_all/source/bash/bis-down.sh
index 112aae36ecc..d2c2dff3fd7 100755
--- a/openbis_all/source/bash/bis-down.sh
+++ b/openbis_all/source/bash/bis-down.sh
@@ -1 +1,4 @@
+#!/bin/bash
+# Shuts down openBIS server
+
 ./sprint/openBIS-server/apache-tomcat/bin/shutdown.sh
diff --git a/openbis_all/source/bash/bis-log.sh b/openbis_all/source/bash/bis-log.sh
index 3387791a24c..abab1e69351 100755
--- a/openbis_all/source/bash/bis-log.sh
+++ b/openbis_all/source/bash/bis-log.sh
@@ -1 +1,4 @@
+#!/bin/bash
+# Shows openBIS server log
+
 less ./sprint/openBIS-server/apache-tomcat/logs/openbis_log.txt
diff --git a/openbis_all/source/bash/bis-up.sh b/openbis_all/source/bash/bis-up.sh
index c243df6ba57..c1e62d9b82e 100755
--- a/openbis_all/source/bash/bis-up.sh
+++ b/openbis_all/source/bash/bis-up.sh
@@ -1 +1,4 @@
+#!/bin/bash
+# Starts up openBIS server
+
 ./sprint/openBIS-server/apache-tomcat/bin/startup.sh
diff --git a/openbis_all/source/bash/dss-down.sh b/openbis_all/source/bash/dss-down.sh
index ef5be08f4a2..a1ab906fc0d 100755
--- a/openbis_all/source/bash/dss-down.sh
+++ b/openbis_all/source/bash/dss-down.sh
@@ -1 +1,4 @@
+#!/bin/bash
+# Shuts down DSS
+
 ./sprint/datastore_server/datastore_server.sh stop
diff --git a/openbis_all/source/bash/dss-log.sh b/openbis_all/source/bash/dss-log.sh
index c2f563a74a9..d3b3d05f985 100755
--- a/openbis_all/source/bash/dss-log.sh
+++ b/openbis_all/source/bash/dss-log.sh
@@ -1 +1,4 @@
+#!/bin/bash
+# Shows DSS log
+
 less sprint/datastore_server/log/datastore_server_log.txt
diff --git a/openbis_all/source/bash/dss-up.sh b/openbis_all/source/bash/dss-up.sh
index ad6c638c52f..0668f0e8422 100755
--- a/openbis_all/source/bash/dss-up.sh
+++ b/openbis_all/source/bash/dss-up.sh
@@ -1 +1,4 @@
+#!/bin/bash
+# Starts up DSS
+
 ./sprint/datastore_server/datastore_server.sh start
diff --git a/openbis_all/source/bash/svn-update.sh b/openbis_all/source/bash/svn-update.sh
index ee95f9a7603..6806087ee6c 100755
--- a/openbis_all/source/bash/svn-update.sh
+++ b/openbis_all/source/bash/svn-update.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 # Author: Tomasz Pylak
-# this small script updates all scripts available in this directory from svn
+# Updates all scripts available in the current directory to the version found in SVN.
 
 SVN=http://svncisd.ethz.ch/repos/cisd/openbis_all/trunk/source/bash
 TMP=svn-update-tmp
-- 
GitLab