You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2010/09/28 13:57:17 UTC

svn commit: r1002127 - /directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/bin/apacheds-init

Author: pamarcelot
Date: Tue Sep 28 11:57:17 2010
New Revision: 1002127

URL: http://svn.apache.org/viewvc?rev=1002127&view=rev
Log:
Updated init script to allow registration of service at (re)boot time on Ubuntu.

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

Modified: directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/bin/apacheds-init
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/bin/apacheds-init?rev=1002127&r1=1002126&r2=1002127&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/bin/apacheds-init (original)
+++ directory/apacheds/branches/apacheds-apacheds-2.0/installers-plugin/src/main/resources/org/apache/directory/daemon/installers/bin/apacheds-init Tue Sep 28 11:57:17 2010
@@ -17,4 +17,21 @@
 #  specific language governing permissions and limitations
 #  under the License.
 #
+
+# *** Linux Standard Base Information ***
+### BEGIN INIT INFO
+# Provides: apacheds
+# Required-Start: $local_fs $network $remote_fs
+# Required-Stop: $local_fs $network $remote_fs
+# Default-Start:  2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start and stop ApacheDS
+# Description: Start and stop ApacheDS
+### END INIT INFO
+
+# *** Information for chkconfig ***
+# chkconfig: 2345 91 35
+# description: Start and stop ApacheDS
+
+# Forwarding the command to the default script
 @installation.directory@/bin/apacheds $1 @default.instance.name@
\ No newline at end of file