Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="runit-managed <%= @name %>"
|
||||
NAME=<%= @name %>
|
||||
RUNIT=/usr/bin/sv
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
RUNIT=<%= @sv_bin %>
|
||||
SCRIPTNAME=<%= @init_dir %>$NAME
|
||||
|
||||
# Exit if runit is not installed
|
||||
[ -x $RUNIT ] || exit 0
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
<% if @size -%>
|
||||
s<%= @size %>
|
||||
<% if @config.log_size -%>
|
||||
s<%= @config.log_size %>
|
||||
<% end -%>
|
||||
<% if @num -%>
|
||||
n<%= @num %>
|
||||
<% if @config.log_num -%>
|
||||
n<%= @config.log_num %>
|
||||
<% end -%>
|
||||
<% if @min -%>
|
||||
N<%= @min %>
|
||||
<% if @config.log_min -%>
|
||||
N<%= @config.log_min %>
|
||||
<% end -%>
|
||||
<% if @timeout -%>
|
||||
t<%= @timeout %>
|
||||
<% if @config.log_timeout -%>
|
||||
t<%= @config.log_timeout %>
|
||||
<% end -%>
|
||||
<% if @processor -%>
|
||||
!<%= @processor %>
|
||||
<% if @config.log_processor -%>
|
||||
!<%= @config.log_processor %>
|
||||
<% end -%>
|
||||
<% if @socket -%>
|
||||
u<%= @socket %>
|
||||
<% if @config.log_socket -%>
|
||||
u<%= @config.log_socket %>
|
||||
<% end -%>
|
||||
<% if @prefix -%>
|
||||
p<%= @prefix %>
|
||||
<% if @config.log_prefix -%>
|
||||
p<%= @config.log_prefix %>
|
||||
<% end -%>
|
||||
<% if @append -%>
|
||||
<%= @append %>
|
||||
<% if @config.log_config_append -%>
|
||||
<%= @config.log_config_append %>
|
||||
<% end -%>
|
||||
|
||||
Reference in New Issue
Block a user