Sha256: 0bcb6e42a0d65e9555629cc91ad85eb7dbd46bf53f53519deeac70fe240a16fc

Contents?: true

Size: 287 Bytes

Versions: 3

Compression:

Stored size: 287 Bytes

Contents

#!/sbin/runscript

DIR='<%= extra[:construct_dir] %>'

depend() {
  need net
}

start() {
  cd $DIR
  ebegin "Starting to provision using Logical Construct"
  LOGCON_DEPLOYMENT_PLATFORM=<%= extra[:platform] %> bin/rake
  eend $?
}

stop() {
  einfo "Stopping Logical Construct [noop]"
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
logical-construct-0.0.5 lib/templates/construct.init.d.erb
logical-construct-0.0.4 lib/templates/construct.init.d.erb
logical-construct-0.0.3 lib/templates/construct.init.d.erb