Skip to content

Commit

Permalink
Bump directory creation up so /etc/monit exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansch committed Nov 20, 2012
1 parent f09e7af commit 5eb9a29
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions recipes/default.rb
Expand Up @@ -15,18 +15,18 @@
supports [:start, :restart, :stop]
end

template "/etc/monit/monitrc" do
owner "root"
group "root"
mode 0700
source 'monitrc.erb'
notifies :restart, resources(:service => "monit"), :delayed
end

directory "/etc/monit/conf.d/" do
owner 'root'
group 'root'
mode 0755
action :create
recursive true
end

template "/etc/monit/monitrc" do
owner "root"
group "root"
mode 0700
source 'monitrc.erb'
notifies :restart, resources(:service => "monit"), :delayed
end

0 comments on commit 5eb9a29

Please sign in to comment.