Commit 1f0e537b authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Merging fixes for Debian package issues discovered by Francisco.


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches/openfire_3_4_4@9748 b35dd754-fafc-0310-a699-88a17e54d16e
parent c03e8122
......@@ -1789,7 +1789,7 @@
<!-- Copy the resulting files into target -->
<copy todir="${debian.release.dir}">
<fileset dir="${debian.work.dir}/..">
<fileset dir="${debian.work.dir}/.." followsymlinks="false">
<include name="**/*.deb" />
<include name="**/*.changes" />
<include name="**/*.dsc" />
......
openfire (@version@) unstable; urgency=medium
* For full changelog, see http://www.igniterealtime.org/builds/wildfire/docs/latest/changelog.html
* For full changelog, see http://www.igniterealtime.org/builds/openfire/docs/latest/changelog.html
-- Jive Software <webmaster@jivesoftware.com> @builddate@
......@@ -8,7 +8,7 @@ Standards-Version: 3.7.2
Package: openfire
Section: net
Priority: optional
Depends: sun-java5-jre
Pre-Depends: sun-java5-jre | sun-java6-jre
Architecture: all
Description: A high performance XMPP (Jabber) server.
Openfire is an instant messaging server that implements the XMPP
......
......@@ -7,15 +7,21 @@
# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl
#
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
# Attempt to locate JAVA_HOME, code borrowed from jabref package
if [ -z $JAVA_HOME ]
then
t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t
t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
fi
PATH=/sbin:/bin:/usr/sbin:/usr/bin:${JAVA_HOME}/bin
DAEMON=${JAVA_HOME}/bin/java
JAVA=${JAVA_HOME}/bin/java
NAME=openfire
DESC=openfire
DAEMON_DIR=/usr/share/openfire
DAEMON_LIB=${DAEMON_DIR}/lib
test -x $DAEMON || exit 0
test -x $JAVA || exit 0
# Include openfire defaults if available
if [ -f /etc/default/openfire ] ; then
......@@ -32,12 +38,12 @@ DAEMON_OPTS="-server -DopenfireHome=${DAEMON_DIR} \
start() {
start-stop-daemon --start --quiet --background --make-pidfile \
--pidfile /var/run/$NAME.pid --chuid openfire:openfire \
--exec $DAEMON -- $DAEMON_OPTS
--exec $JAVA -- $DAEMON_OPTS
}
stop() {
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
--exec $DAEMON --retry 4
--exec $JAVA --retry 4
}
case "$1" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment