Dev set up
This commit is contained in:
24
ops/cookbooks/vendor/runit/templates/default/log-config.erb
vendored
Normal file
24
ops/cookbooks/vendor/runit/templates/default/log-config.erb
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
<% if @config.log_size -%>
|
||||
s<%= @config.log_size %>
|
||||
<% end -%>
|
||||
<% if @config.log_num -%>
|
||||
n<%= @config.log_num %>
|
||||
<% end -%>
|
||||
<% if @config.log_min -%>
|
||||
N<%= @config.log_min %>
|
||||
<% end -%>
|
||||
<% if @config.log_timeout -%>
|
||||
t<%= @config.log_timeout %>
|
||||
<% end -%>
|
||||
<% if @config.log_processor -%>
|
||||
!<%= @config.log_processor %>
|
||||
<% end -%>
|
||||
<% if @config.log_socket -%>
|
||||
u<%= @config.log_socket %>
|
||||
<% end -%>
|
||||
<% if @config.log_prefix -%>
|
||||
p<%= @config.log_prefix %>
|
||||
<% end -%>
|
||||
<% if @config.log_config_append -%>
|
||||
<%= @config.log_config_append %>
|
||||
<% end -%>
|
2
ops/cookbooks/vendor/runit/templates/default/log-run.erb
vendored
Normal file
2
ops/cookbooks/vendor/runit/templates/default/log-run.erb
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec svlogd <%= @config.log_flags %> <%= @config.log_dir %>
|
Reference in New Issue
Block a user