]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add args to daemons fetch
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 23 Jun 2009 23:44:00 +0000 (16:44 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 23 Jun 2009 23:44:00 +0000 (16:44 -0700)
scripts/startdaemons.sh

index 4e87694fb8a0d335c862c11f08fca2730eb062a7..7609abec47044a62981dc121d9ba20e9a6e0df08 100755 (executable)
@@ -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...";