Sha256: 1d3a512c430f29c23a91aa072029621822b27f492d6381975309690cf02a1382

Contents?: true

Size: 557 Bytes

Versions: 7

Compression:

Stored size: 557 Bytes

Contents

  process "<%= options[:name] %>" do
    pid_file "<%= options[:pid_file] %>"
    start_command "<%= options[:start_command] %>"
    stop_command "<%= options[:stop_command] %>"

    start_timeout <%= options[:start_timeout] || 60 %>.seconds
    stop_timeout <%= options[:stop_timeout] || 30 %>.seconds
    restart_timeout <%= options[:restart_timeout] || 30 %>.seconds

    start_grace <%= options[:start_grace] || 100 %>.seconds
    stop_grace <%= options[:stop_grace] || 30 %>.seconds
    restart_grace <%= options[:restart_grace] || 30 %>.seconds
  end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
negroku-2.8.6 lib/negroku/capistrano/templates/eye/_process.erb
negroku-2.8.5 lib/negroku/capistrano/templates/eye/_process.erb
negroku-2.8.4 lib/negroku/capistrano/templates/eye/_process.erb
negroku-2.8.3 lib/negroku/capistrano/templates/eye/_process.erb
negroku-2.8.2 lib/negroku/capistrano/templates/eye/_process.erb
negroku-2.8.1 lib/negroku/capistrano/templates/eye/_process.erb
negroku-2.8.0 lib/negroku/capistrano/templates/eye/_process.erb