From e12cb0d3e093342ff6ce93dbf4bc102cbcb7d54b Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 11 Jan 2009 21:37:28 +0100 Subject: eathena.sh and eathena-monitor corrections When the monitor didn't find the configuration, it didn't print out the path it actually tried. The shell script was modified to actually pass the path to the configuration to the monitor, otherwise it can't find this itself when the 'workdir' doesn't match its default value. --- eathena.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eathena.sh b/eathena.sh index edfabf9..31c3a86 100755 --- a/eathena.sh +++ b/eathena.sh @@ -20,7 +20,7 @@ cd ${SRVHOMEDIR} eathena_start() { if [ -x ${SRVHOMEDIR}/eathena-monitor ]; then echo "Starting eathena monitor..." - ${SRVHOMEDIR}/eathena-monitor + ${SRVHOMEDIR}/eathena-monitor ${SRVHOMEDIR}/conf/eathena-monitor.conf else echo "Eathena monitor binary is not executable or not found." fi } -- cgit v1.2.3-70-g09d2