Sha256: c675f94509b8b5dcfc816f4b0514c74d08c3e8aa6da1e247edf3aec0b8c1db01

Contents?: true

Size: 201 Bytes

Versions: 2

Compression:

Stored size: 201 Bytes

Contents

Standup.script do
  self.description = 'Watch remote Rails application log'
  
  def run
    scripts.shell.make_shell "tail -n 1000 -f /opt/webapp/log/#{scripts.webapp.params.rails_env}.log"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
standup-0.3.3 scripts/watchlog.rb
standup-0.3.2 scripts/watchlog.rb