lib/templates/construct.init.d.erb in logical-construct-0.0.1 vs lib/templates/construct.init.d.erb in logical-construct-0.0.2
- old
+ new
@@ -1,15 +1,18 @@
-#!/bin/runscript
+#!/sbin/runscript
DIR='<%= extra[:construct_dir] %>'
depend() {
need net
}
start() {
cd $DIR
- bin/rake
+ ebegin "Starting to provision using Logical Construct"
+ LOGCON_DEPLOYMENT_PLATFORM=<%= extra[:deployment_platform] %> bin/rake
+ eend $?
}
stop() {
+ einfo "Stopping Logical Construct [noop]"
}