Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -12,6 +12,8 @@ BLUEPILL_BIN=<%= node['bluepill']['bin'] %>
|
||||
BLUEPILL_CONFIG=<%= @config_file %>
|
||||
SERVICE_NAME=<%= @service_name %>
|
||||
|
||||
[ -r <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME ] && . <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo "Loading bluepill configuration for $SERVICE_NAME "
|
||||
|
||||
@@ -24,6 +24,7 @@ status_cmd="${command} ${name} status"
|
||||
stop_cmd="${command} ${name} stop"
|
||||
stop_postcmd="${command} ${name} quit"
|
||||
|
||||
[ -r <%= node['bluepill']['defaults_dir'] %>/$name ] && . <%= node['bluepill']['defaults_dir'] %>/$name
|
||||
load_rc_config ${name}
|
||||
|
||||
PATH="${PATH}:/usr/local/bin"
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: <%= @service_name %>
|
||||
# Required-Start: bar
|
||||
# Required-Start:
|
||||
# Required-Stop:
|
||||
# Defalt-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 2 6
|
||||
# Description: Bluepill loader for <%= @service_name %>
|
||||
@@ -12,6 +13,8 @@ BLUEPILL_BIN=<%= node['bluepill']['bin'] %>
|
||||
BLUEPILL_CONFIG=<%= @config_file %>
|
||||
SERVICE_NAME=<%= @service_name %>
|
||||
|
||||
[ -r <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME ] && . <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo "Loading bluepill configuration for $SERVICE_NAME "
|
||||
|
||||
@@ -12,6 +12,8 @@ BLUEPILL_BIN=<%= node['bluepill']['bin'] %>
|
||||
BLUEPILL_CONFIG=<%= @config_file %>
|
||||
SERVICE_NAME=<%= @service_name %>
|
||||
|
||||
[ -r <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME ] && . <%= node['bluepill']['defaults_dir'] %>/$SERVICE_NAME
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo "Loading bluepill configuration for $SERVICE_NAME "
|
||||
|
||||
Reference in New Issue
Block a user