Sha256: 9695088618da7c898ffce043768ced9737e4ac7e520865adc7005012333f1c5b

Contents?: true

Size: 207 Bytes

Versions: 4

Compression:

Stored size: 207 Bytes

Contents

Standup.script :node 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

4 entries across 4 versions & 1 rubygems

Version Path
standup-0.3.7 scripts/watchlog.rb
standup-0.3.6 scripts/watchlog.rb
standup-0.3.5 scripts/watchlog.rb
standup-0.3.4 scripts/watchlog.rb