lib/negroku/templates/tasks/eye/_process.erb in negroku-2.4.1 vs lib/negroku/templates/tasks/eye/_process.erb in negroku-2.4.2
- old
+ new
@@ -1,8 +1,8 @@
process "<%= options[:name] %>" do
- start_timeout <%= options[:start_timeout] %>
- stop_timeout <%= options[:stop_timeout] %>
- restart_timeout <%= options[:restart_timeout] %>
+ start_timeout <%= options[:start_timeout] || "30.seconds" %>
+ stop_timeout <%= options[:stop_timeout] || "20.seconds" %>
+ restart_timeout <%= options[:restart_timeout] || "30.seconds" %>
pid_file "<%= options[:pid_file] %>"
start_command "<%= options[:start_command] %>"
stop_command "<%= options[:stop_command] %>"
end