]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/startdaemons.sh
better deletes and key names
[quix0rs-gnu-social.git] / scripts / startdaemons.sh
index 4ba7e68722d5875a4809ba117f2c27650949d535..685bd938fa289862898fd2357b7f0f32a29e452c 100755 (executable)
 # 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 xmppqueuehandler.php publicqueuehandler.php \
+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