mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
ed9c37dec7
very high performance, clustered, asynchronous messaging system, designed with usability in mind. HornetQ is an example of Message Oriented Middleware (MoM) WWW: http://www.jboss.org/hornetq PR: ports/167952 Submitted by: Radim Kolar
19 lines
613 B
Bash
19 lines
613 B
Bash
#!/bin/sh
|
|
#
|
|
# Copy sample hornetq config files to real ones if real ones does not exists
|
|
#
|
|
if [ "$2" = "POST-INSTALL" ]; then
|
|
if [ ! -d $PKG_PREFIX/share/hornetq/config/stand-alone ]; then exit 1; fi
|
|
umask 027
|
|
cd $PKG_PREFIX/share/hornetq/config/stand-alone
|
|
for cfgdir in clustered non-clustered; do
|
|
for cfgfile in hornetq-beans.xml hornetq-users.xml \
|
|
hornetq-configuration.xml jndi.properties \
|
|
hornetq-jms.xml logging.properties; do
|
|
if [ ! -f $cfgdir/$cfgfile ]; then
|
|
cp -p $cfgdir/$cfgfile.sample $cfgdir/$cfgfile
|
|
fi
|
|
done
|
|
done
|
|
fi
|