Openfire 3.7.0 & previous : Debian package missing LSB tags and overrides in init script

Debian has moved to a dependency based init system and requres the package to be LSB complient.

Below is a patch I found in prevous discussions that should assist in the installation/configuration of Openfire.

--- /etc/init.d/openfire.orig   2009-05-04 17:30:06.000000000 +0200
+++ /etc/init.d/openfire        2009-05-04 17:33:45.000000000 +0200
@@ -3,9 +3,19 @@
 #              Written by Miquel van Smoorenburg .
 #              Modified for Debian
 #              by Ian Murdock .
+#              Modified for LSB compliance
+#              by Steffen Zieger .
 # Version:     @(#)skeleton  1.9  26-Feb-2001
+# Provides:            openfire
+# Required-Start:      $local_fs $network $remote_fs $syslog
+# Required-Stop:       $local_fs $network $remote_fs $syslog
+# Default-Start:       2 3 4 5
+# Default-Stop:                1
+# Short-Description:   Openfire is a Jabber/XMPP server

 # Attempt to locate JAVA_HOME, code borrowed from jabref package
 if [ -z $JAVA_HOME ]

Can this patch be added to the current release of Openfire?


I’d be happy to commit this, could you kindly provide a link to the previous discussion or any open Jira tickets on this?



I could not find an open ticket on this issue and so tried to create one but the default permissions only allow you to create new issues for Tinder.

You may find the discussion here.

opened OF-433 and patched trunk. Thanks

Daryl, will this patch apply to nightly builds as well?

yes, tomorrows build will have it.

Awesome! Thanks for your help!


Where to find it?

I’ve a 3.6.4 installed.

Can i just apt-get remove openfire* and dpkg -i openfire…deb to upgrade?


Next time please create a new discussion for this request.

You may find nightly builds for Debian here.

As for installation/configuration assistance please refer to the documentation here.

For further assistance you may also create a new discussion here.