[Kolab-devel] server/doc QIM,1.23,1.24 by martin at doto.intevation.de

root at intevation.de root at intevation.de
Mon Jul 28 23:03:52 CEST 2003


Update of /kolabrepository/server/doc
In directory doto:/tmp/cvs-serv19082

Modified Files:
	QIM 
Log Message:
Martin K.: Fixed the missing - in tls option. Added LSB startup script


Index: QIM
===================================================================
RCS file: /kolabrepository/server/doc/QIM,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- QIM	28 Jul 2003 17:43:39 -0000	1.23
+++ QIM	28 Jul 2003 21:03:50 -0000	1.24
@@ -64,17 +64,30 @@
 Now you succeeded in bootstrapping the kolab environment.
 You will have a new user kolab in your /etc/passwd.
 
-4. Replace the following script in /etc/init.d/kolab
+4. Put the following script in /etc/init.d/kolab or wherever your system
+expects startup scripts.
+
+Depending on the OS you may require a different location or syntax. Please consult the manual
+of your operating system.
+
+For LSB complient systems the startup script /etc/init.d/kolab looks like
 
 #!/bin/sh
 #
-# kolab -- startup/shutdown transfer script for /kolab OpenPKG hierarchy
-#
+## chkconfig: 345 99 01
+# description: starts and stops the Kolab server
+# #
 [ ! -f /kolab/etc/rc.d/rc.kolab ] && exit 0
-case $1 in
-    start ) exec /kolab/etc/rc.d/rc.kolab start ;;
-    stop  ) exec /kolab/etc/rc.d/rc.kolab stop  ;;
+case "$1" in
+  start|stop|restart|reload)
+    /kolab/etc/rc.d/rc.kolab $1
+    ;;
+  *)
+    echo "usage: $0
+    start|stop|restart|reload" 1>&2
+    ;;
 esac
+                                               
 
 5. Become the kolab user
   
@@ -157,7 +170,7 @@
 rpm -Uhv /kolab/RPM/PKG/sasl*kol.rpm
 
 rpm -ba postfix.spec --define 'with_sasl yes' \
-	 -define 'with_tls yes' --define 'with_ldap yes'
+	 --define 'with_tls yes' --define 'with_ldap yes'
 rpm -Uhv /kolab/RPM/PKG/postfix*kol.rpm
 
 patch < kolab.patch # patch for imapd.spec file and groupfile





More information about the devel mailing list