Skip to content

Commit

Permalink
tighter perms on init file
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Blumenthal committed Dec 7, 2014
1 parent ec734a1 commit 01ee4f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

template "/etc/init/resque.conf" do
source "resque.conf.erb"
mode "0755"
mode '0644'
end

node[:deploy].each do |application, deploy|
Expand All @@ -30,7 +30,7 @@

template "/etc/init/resque-#{application}-#{idx}.conf" do
source "resque-n.conf.erb"
mode "0755"
mode '0644'
variables env: env, application: application, deploy: deploy, queue: queue, instance: idx
end
end
Expand Down

0 comments on commit 01ee4f0

Please sign in to comment.