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

Activity

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

applied patch.

Fixed

Assignee

Guus der Kinderen

Reporter

Daryl Herzmann