Sha256: eeed5aa84ef27fb0c8f2debe80018900f91f72c901dfb33d2c3a3a30bac357b9

Contents?: true

Size: 693 Bytes

Versions: 3

Compression:

Stored size: 693 Bytes

Contents

# process dependencies example

Eye.app :dependency do
  process(:a) do
    start_command "sleep 100"
    daemonize true
    pid_file "/tmp/test_process_a.pid"
  end

  process(:b) do
    start_command "sleep 100"
    daemonize true
    pid_file "/tmp/test_process_b.pid"
    depend_on :a
  end

  process(:c) do
    start_command "sleep 100"
    daemonize true
    pid_file "/tmp/test_process_c.pid"
    depend_on :a
  end

  process(:d) do
    start_command "sleep 100"
    daemonize true
    pid_file "/tmp/test_process_d.pid"
    depend_on :b
  end

  process(:e) do
    start_command "sleep 100"
    daemonize true
    pid_file "/tmp/test_process_e.pid"
    depend_on [:d, :c]
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
eye-0.8.pre2 examples/dependency.eye
eye-0.8.pre examples/dependency.eye
eye-0.7 examples/dependency.eye