directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1002215 - /directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/deb/prerm
Date Tue, 28 Sep 2010 15:20:20 GMT
Author: pamarcelot
Date: Tue Sep 28 15:20:17 2010
New Revision: 1002215

URL: http://svn.apache.org/viewvc?rev=1002215&view=rev
Log:
Fixed the script when shutting down server instances which are not the default ones.

Modified:
    directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/deb/prerm

Modified: directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/deb/prerm
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/deb/prerm?rev=1002215&r1=1002214&r2=1002215&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/deb/prerm
(original)
+++ directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/deb/prerm
Tue Sep 28 15:20:17 2010
@@ -24,7 +24,7 @@ for instance_dir in `find /var/lib/apach
   # Get instance and use it to shutdown
   instance=$(echo $instance_dir | sed -e 's/.*apacheds.*\///g')
   echo Shutting down ApacheDS instance $instance
-  /etc/init.d/apacheds-${version}-$instance stop
+  /opt/apacheds-${version}/bin/apacheds stop $instance
 
   # Backup old instance folders before deleting them
   timestamp=$(date '+%Y%m%d_%H%M%S')



Mime
View raw message