Permalink
Browse files

Fixes #4488 - Bring miniond "binary" up to date.

  • Loading branch information...
1 parent 74a731f commit 06ee579446c245ca86c53d1f00272dc7f5864396 @kiall kiall committed Mar 30, 2012
Showing with 2 additions and 8 deletions.
  1. +2 −8 miniond
View
@@ -22,7 +22,7 @@
function start_daemon()
{
echo "Starting"
- php index.php --uri=minion "$TASK" $ARGS &
+ php index.php $ARGS &
pid=$! # Store pid (globally) for later use..
}
@@ -51,13 +51,7 @@ function handle_SIGTERM_SIGINT()
trap handle_SIGHUP SIGHUP
trap handle_SIGTERM_SIGINT SIGTERM SIGINT
-# Parse arguements
-if [[ $# > 0 && $1 != --* ]]
-then
- TASK="--task=$1"
- shift 1
- ARGS=$@
-fi
+ARGS=$@
start_daemon

0 comments on commit 06ee579

Please sign in to comment.