From 01ee4f0bd13ccd87b8767ff6eac2f11469ba8f6a Mon Sep 17 00:00:00 2001 From: Noah Blumenthal Date: Sun, 7 Dec 2014 01:34:38 -0500 Subject: [PATCH] tighter perms on init file --- recipes/setup.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/setup.rb b/recipes/setup.rb index 1a2927a..7fa6f85 100644 --- a/recipes/setup.rb +++ b/recipes/setup.rb @@ -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| @@ -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