summaryrefslogtreecommitdiff
path: root/scripts/startdaemons.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/startdaemons.sh')
-rwxr-xr-xscripts/startdaemons.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/startdaemons.sh b/scripts/startdaemons.sh
index a862b9dfe..685bd938f 100755
--- a/scripts/startdaemons.sh
+++ b/scripts/startdaemons.sh
@@ -20,12 +20,12 @@
# This program tries to start the daemons for Laconica.
# Note that the 'maildaemon' needs to run as a mail filter.
-export INSTALLDIR=$1
+DIR=`dirname $0`
for f in xmppdaemon.php jabberqueuehandler.php publicqueuehandler.php \
xmppconfirmhandler.php smsqueuehandler.php ombqueuehandler.php; do
echo -n "Starting $f...";
- php $INSTALLDIR/scripts/$f;
+ php $DIR/$f
echo "DONE."
done