X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fstartdaemons.sh;h=685bd938fa289862898fd2357b7f0f32a29e452c;hb=8250d8a350f91494a4ca5d71e711aa5ecd91dff5;hp=a862b9dfe95ba769cd5a3f0b70991ebdd68d6b40;hpb=12b7829f66c9d8a2eae6b524d192e17d2bde3e1f;p=quix0rs-gnu-social.git diff --git a/scripts/startdaemons.sh b/scripts/startdaemons.sh index a862b9dfe9..685bd938fa 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