init script improvement

Description

http://www.igniterealtime.org/community/message/196624

Hi all

The init.d script for the Openfire RPM has a bug: when it's starting the service it doesn't check if it's already running, so it's possible to start it twice and thus have problems with port numbers, etc.

Here I'm including a small patch for fixing this error. It just checks if the process is already running (by looking at the contents of the pidfile).

I have tested it only in Redhat SLC 4, but it should work in other distributions as well.

Environment

None

Attachments

1

Activity

Show:

Guus der Kinderen January 3, 2010 at 3:58 AM

applied patch.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 2, 2009 at 10:55 PM
Updated February 1, 2010 at 3:17 AM
Resolved January 3, 2010 at 3:58 AM