Sha256: e94c286386053bca1e7e955f65befba587fe2b96ab07eadf6a60a5914f355703
Contents?: true
Size: 282 Bytes
Versions: 3
Compression:
Stored size: 282 Bytes
Contents
#!/usr/bin/env ruby restart = case node[:instance_role] when 'app' "touch tmp/restart.txt" when 'resque' "rvmsudo bluepill restart resque" end log "cd #{current_path} && #{restart}" run "cd #{current_path} && echo '#{restart}'"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chap-0.0.3 | spec/fixtures/chapdemo/chap/restart |
chap-0.0.2 | spec/fixtures/chapdemo/chap/restart |
chap-0.0.1 | spec/fixtures/chapdemo/chap/restart |