init-Script Improvement

wouldn’t it be nice to have a restart-Option in /opt/OpenFire/bin/openfire ?

there are only the following four lines needed:

restart)
    $0 stop
    $0 start
;;

and you have to modify

echo “Usage: $0 {start|stop|status}”

to

echo “Usage: $0 {start|stop|restart|status}”

Winky,

I agree, but openfire often has some difficulties stopping. We probably need to figure out first how to truely make sure openfire stops before trying to start it again.

daryl

kill -9 $PID