* Better defaults, path fixes and new version for apt

trunk@3605 1.2.0@3404
Jon Bonilla 17 years ago
parent 85b44b8eaa
commit f2f85f5ebe

7
debian/changelog vendored

@ -1,3 +1,10 @@
sipwise-mediator (0.1.4) unstable; urgency=low
[ Jon Bonilla ]
* Path fixes
-- Jon Bonilla <jbonilla@sipwise.com> Wed, 24 Feb 2010 15:40:23 +0100
sipwise-mediator (0.1.2) unstable; urgency=low
[ Jon Bonilla ]

@ -3,12 +3,12 @@ PIDFILE="/var/run/mediator.pid"
FORK="yes"
INTERVAL="10"
SOURCE_HOST="localhost"
SOURCE_PORT="0"
SOURCE_PORT="3306"
SOURCE_USER="mediator"
SOURCE_PASS='GimmeAllUr$$$'
SOURCE_DB="accounting"
DEST_HOST="localhost"
DEST_PORT="0"
DEST_PORT="3306"
DEST_USER="mediator"
DEST_PASS='GimmeAllUr$$$'
DEST_DB="accounting"

@ -10,9 +10,8 @@ case $(dirname $0) in
*) FULLPATH=$(pwd)/$(dirname $0);;
esac
BASEDIR=$(echo $FULLPATH | sed -e 's,/sbin,,')
DAEMON=$BASEDIR/sbin/mediator
DEFAULTS=$BASEDIR/etc/mediator.default
DAEMON=`which mediator`
DEFAULTS=/etc/default/mediator
test -f $DAEMON || exit 0

Loading…
Cancel
Save