summaryrefslogtreecommitdiff
path: root/eathena.sh
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-01-11 21:37:28 +0100
committerDennis Friis <peavey@inspircd.org>2009-05-31 13:59:51 +0200
commite12cb0d3e093342ff6ce93dbf4bc102cbcb7d54b (patch)
tree338091811cbd4564546a527dc48f377c6ba49762 /eathena.sh
parente7264017848c0ed1fdf7eb5bb36933c6448a8951 (diff)
downloadtmwa-e12cb0d3e093342ff6ce93dbf4bc102cbcb7d54b.tar.gz
tmwa-e12cb0d3e093342ff6ce93dbf4bc102cbcb7d54b.tar.bz2
tmwa-e12cb0d3e093342ff6ce93dbf4bc102cbcb7d54b.tar.xz
tmwa-e12cb0d3e093342ff6ce93dbf4bc102cbcb7d54b.zip
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.
Diffstat (limited to 'eathena.sh')
-rwxr-xr-xeathena.sh2
1 files changed, 1 insertions, 1 deletions
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
}