Sha256: 9ae328a5489321b63994187878613c53b6e4e578305a849b5c3d014a1e2a00eb

Contents?: true

Size: 264 Bytes

Versions: 6

Compression:

Stored size: 264 Bytes

Contents

#!/bin/bash

set -e

/opt/forger/auto_terminate/setup.sh

<% if @options[:auto_terminate] -%>
  <% if @options[:ami_name] %>
/opt/forger/auto_terminate.sh later
  <% else %>
/opt/forger/auto_terminate.sh now # terminate immediately
  <% end -%>
<% end -%>

set +e

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forger-3.0.2 lib/forger/script/templates/auto_terminate.sh
forger-3.0.1 lib/forger/script/templates/auto_terminate.sh
forger-3.0.0 lib/forger/script/templates/auto_terminate.sh
forger-2.0.5 lib/forger/script/templates/auto_terminate.sh
forger-2.0.4 lib/forger/script/templates/auto_terminate.sh
forger-2.0.3 lib/forger/script/templates/auto_terminate.sh