Sha256: 579b65dc1eaa32319b90a1a34beeb911af2c2cd454f09c63553806bfb2d88d26
Contents?: true
Size: 706 Bytes
Versions: 6
Compression:
Stored size: 706 Bytes
Contents
Eye.app("int") do stop_on_delete true # !!! working_dir File.join(File.dirname(__FILE__), %w{.. .. example}) stdall "shlak.log" group "samples" do process("sample1_") do pid_file "1.pid" start_command "ruby sample.rb" daemonize true end process("sample2_") do pid_file "2.pid" start_command "ruby sample.rb -d --pid 2.pid --log shlak.log" checks :memory, :below => 300.megabytes end end process("forking") do pid_file "forking.pid" start_command "ruby forking.rb start" stop_command "ruby forking.rb stop" monitor_children do childs_update_period 5.seconds restart_command "kill -2 {{PID}}" end end end
Version data entries
6 entries across 6 versions & 1 rubygems