From cfdd1eea7be6000a96f4e13007e571ad766bb2f9 Mon Sep 17 00:00:00 2001
From: Tomas Plesnik <plesnik@ics.muni.cz>
Date: Thu, 26 Sep 2013 14:09:41 +0200
Subject: [PATCH] smazana zminka o defaultnim adresari serveru v /opt, smazana
 podminka byt root, uprava examplu, uprava znaceni povinnych argumentu skriptu
 a to vse pro instal.sh, update.sh a uninstall.sh

---
 src/warden-server/doc/README | 35 ++++++++++++-----------------------
 1 file changed, 12 insertions(+), 23 deletions(-)

diff --git a/src/warden-server/doc/README b/src/warden-server/doc/README
index ec2d8c7..2e1637e 100644
--- a/src/warden-server/doc/README
+++ b/src/warden-server/doc/README
@@ -98,26 +98,23 @@ C. Installation
     $ tar xzvf warden-server-2.2.tar.gz
 
  3. Run install.sh. 
-  
-    Default installation directory is /opt/warden-server/
     
     For more information about install.sh options run install.sh -h
 
-    Usage: $ ./install.sh [-d <directory>] [-k <ssl_key_file>]
-                          [-c <ssl_cert_file>] [-a <ssl_ca_file>] [-hV]"
-	-d <directory>            installation directory (default: /opt)
+    Usage: $ ./install.sh -d <directory> -k <ssl_key_file> -c <ssl_cert_file> -a <ssl_ca_file> [-hV]"
+	-d <directory>            installation directory
 	-k <ssl_key_file>         SSL certificate key file path
 	-c <ssl_cert_file>        SSL certificate file path
 	-a <ssl_ca_file>          CA certificate file path
 	-h                        print this help
 	-V                        print script version number and exit
-	
-    Example: # ./install.sh -d /opt -k /etc/ssl/private/server.key
+
+
+    Example: # ./install.sh -d /opt/warden-server
+                            -k /etc/ssl/private/server.key
                             -c /etc/ssl/certs/server.pem                            
 			    -a /etc/ssl/certs/bundle.pem
 
-    You must be root for running this script.
-
  4. Configuration files
   
     You are advised to check configuration file warden-apache.conf and
@@ -204,19 +201,15 @@ C. Installation
 D. Update
 
  For update of the Warden server package from local machine use update.sh.
-  
- Default destination directory is /opt/warden-server/.
     
  For more information about update.sh options run update.sh -h
 
-   Usage: $ ./update.sh [-d <directory>] [-hV]
-        -d <directory>            destination directory (default: /opt)
+   Usage: $ ./update.sh -d <directory> [-hV]
+        -d <directory>            destination directory
         -h                        print this help
         -V                        print script version number and exit
 
-   Example: # ./update.sh -d /opt
-
- You must be root for running this script.
+   Example: # ./update.sh -d /opt/warden-server
 
  For more information about post-update steps see UPDATE file in 'doc'
  directory.
@@ -226,19 +219,15 @@ D. Update
 E. Uninstallation
 
  For uninstallation of the Warden server package from local machine use uninstall.sh.
-  
- Default uninstallation directory is /opt/warden-server/.
     
  For more information about uninstall.sh options run uninstall.sh -h
 
-   Usage: $ ./uninstall.sh [-d <directory>] [-hV]
-        -d <directory>            uninstallation directory (default: /opt)
+   Usage: $ ./uninstall.sh -d <directory> [-hV]
+        -d <directory>            uninstallation directory
         -h                        print this help
         -V                        print script version number and exit
 
-   Example: # ./uninstall.sh -d /opt
-
- You must be root for running this script.
+   Example: # ./uninstall.sh -d /opt/warden-server
 
  For more information about post-uninstallation steps see UNINSTALL file in 'doc'
  directory.
-- 
GitLab