Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/web
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv10667

Modified Files:
        apache2.info 
Log Message:
Auto enable apache2 (daemonic), update and start and stop on install/remove

Index: apache2.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/web/apache2.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- apache2.info        23 Jun 2006 17:23:20 -0000      1.4
+++ apache2.info        24 Jun 2006 00:14:17 -0000      1.5
@@ -1,6 +1,6 @@
 Package: apache2
 Version: 2.0.58
-Revision: 10
+Revision: 11
 ###
 Replaces: apache2, apache2-ssl
 Provides: httpd
@@ -372,6 +372,9 @@
 
 if [ "$1" != "configure" ]; then
        exit 0
+else
+       %p/bin/daemonic update apache2
+       %p/sbin/apache2ctl restart
 fi
 
 #set up default site and dummy error and access logs
@@ -387,6 +390,9 @@
                echo "AddDefaultCharset UTF-8" > %p/etc/apache2/conf.d/charset
        fi
 fi
+
+%p/bin/daemonic enable apache2
+
 exit 0
   <<
   PostRmScript: <<
@@ -408,6 +414,12 @@
                rm -f "$i"
        done
 fi
+if [ "$1" = "purge" -o "$1" = "remove" ]
+then
+       %p/sbin/apache2ctl stop
+       %p/bin/daemonic disable apache2
+fi
+
 exit 0
   <<
   Description: Next generation, scalable, extendable web server


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to