You need to fetch your package/binary into the sandbox. A sample aurora
config could look like this:

hello = Process(
  name = 'hello',
  cmdline = "./hello")
fetch_hello = Process(
  name = 'fetch_hello',
  cmdline = "wget http://packages.local/hello && chmod +x ./hello")

task = SequentialTask(
  processes = [fetch_hello, hello],
  resources = Resources(cpu = 1.0, ram = 128*MB, disk = 128*MB))

jobs = [Service(
  task = task, cluster = 'example', role = 'www-data', environment =
'prod', name = 'hello')]

This of course assumes you can fetch your binary from a server. If you
can't do that, an alternative would be to copy some file from outside
of your sandbox into the sandbox.



On Tue, Dec 17, 2013 at 8:31 AM, Longbin Chen <[email protected]> wrote:

> hi,
>    I packed all the necessary binary into a package and want to run it on
> thermo's working directory.  I can't find any document on this. Can anyone
> give me some hints?
>
> best
>

Reply via email to