diff options
author | Liam McLoughlin <hexxeh@hexxeh.net> | 2011-07-08 19:47:07 +0100 |
---|---|---|
committer | Liam McLoughlin <hexxeh@hexxeh.net> | 2011-07-08 19:47:07 +0100 |
commit | 6e55dab2366ee4acb427837496261478c76e35e6 (patch) | |
tree | cfeae4834d4cf42464c1424d0cc50162577c5c94 /README | |
parent | Delete config after the build has finished in daemon (diff) | |
download | gentoaster-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-- | README | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) |