test/configs/daemon_polls/daemon_polls.god in god-0.11.0 vs test/configs/daemon_polls/daemon_polls.god in god-0.12.0
- old
+ new
@@ -4,14 +4,14 @@
w.start = 'ruby ' + File.join(File.dirname(__FILE__), *%w[simple_server.rb]) + ' start'
w.stop = 'ruby ' + File.join(File.dirname(__FILE__), *%w[simple_server.rb]) + ' stop'
w.pid_file = '/var/run/daemon-polls.pid'
w.start_grace = 2.seconds
w.log = File.join(File.dirname(__FILE__), *%w[out.log])
-
+
w.behavior(:clean_pid_file)
-
+
w.start_if do |start|
start.condition(:process_running) do |c|
c.running = false
end
end
-end
\ No newline at end of file
+end