aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLiam McLoughlin <hexxeh@hexxeh.net>2011-07-08 19:47:07 +0100
committerLiam McLoughlin <hexxeh@hexxeh.net>2011-07-08 19:47:07 +0100
commit6e55dab2366ee4acb427837496261478c76e35e6 (patch)
treecfeae4834d4cf42464c1424d0cc50162577c5c94 /README
parentDelete config after the build has finished in daemon (diff)
downloadgentoaster-6e55dab2366ee4acb427837496261478c76e35e6.tar.gz
gentoaster-6e55dab2366ee4acb427837496261478c76e35e6.tar.bz2
gentoaster-6e55dab2366ee4acb427837496261478c76e35e6.zip
Changed Gearman test client to accept config path as an argument, added waiting case in status checker
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 3 insertions, 4 deletions
diff --git a/README b/README
index 3019ba6..ddf981e 100644
--- a/README
+++ b/README
@@ -46,14 +46,13 @@ Running
There's no init script for the daemon yet, so simply run as follows:
-cd /usr/share/gentoaster
-sudo php5 daemon.php
+sudo php5 /usr/share/gentoaster/daemon.php &
Note the use of sudo, the daemon MUST be ran as root for it to work, otherwise all builds will fail.
Now that the daemon is running, you can try a build, using the sample client:
-php5 client.php
+php5 /usr/share/gentoaster/client.php /usr/share/gentoaster/configs/minimal.ini
This will give you some output similar to the following:
@@ -61,7 +60,7 @@ Job sent, handle was H:lucidity:3 - hash 6085655f187a8442f82c43ebf98e5fdb
You can check on the status of that build by running the following:
-php5 status.php <handle hash>
+php5 /usr/share/gentoaster/status.php <handle hash>
Where <handle hash> is the hash returned by client.php (for example 6085655f187a8442f82c43ebf98e5fdb)