Update cookbooks and add wordpress cookbook

This commit is contained in:
Greg Karékinian
2016-02-19 18:09:49 +01:00
parent 9ba973e3ac
commit 820b0ab3f8
606 changed files with 22421 additions and 14084 deletions

View File

@@ -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

View File

@@ -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 -%>