From: Evan Prodromou Date: Tue, 23 Jun 2009 23:44:00 +0000 (-0700) Subject: add args to daemons fetch X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f88d767f493c5780476450d92ddb8f27a6ea6caa;p=quix0rs-gnu-social.git add args to daemons fetch --- diff --git a/scripts/startdaemons.sh b/scripts/startdaemons.sh index 4e87694fb8..7609abec47 100755 --- a/scripts/startdaemons.sh +++ b/scripts/startdaemons.sh @@ -20,9 +20,6 @@ # This program tries to start the daemons for Laconica. # Note that the 'maildaemon' needs to run as a mail filter. -DIR=`dirname $0` -DAEMONS=`php $DIR/getvaliddaemons.php` - ARGS= if [ $# -gt 0 ]; then @@ -33,6 +30,9 @@ if [ $# -gt 1 ]; then ARGS="$ARGS -p$2" fi +DIR=`dirname $0` +DAEMONS=`php $DIR/getvaliddaemons.php $ARGS` + for f in $DAEMONS; do echo -n "Starting $f...";