From: Tom Hughes Date: Wed, 31 Oct 2018 22:36:44 +0000 (+0000) Subject: Fix log rotation for dev apis X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/9a075214d2f85073acad2e4dac005bdf08aecd62?ds=sidebyside;hp=--cc Fix log rotation for dev apis --- 9a075214d2f85073acad2e4dac005bdf08aecd62 diff --git a/cookbooks/dev/templates/default/logrotate.apis.erb b/cookbooks/dev/templates/default/logrotate.apis.erb index 2b5b74641..bd984cdd0 100644 --- a/cookbooks/dev/templates/default/logrotate.apis.erb +++ b/cookbooks/dev/templates/default/logrotate.apis.erb @@ -7,7 +7,7 @@ compress delaycompress notifempty - create 0660 rails rails + create 0660 apis apis sharedscripts postrotate PASSENGER_INSTANCE_REGISTRY_DIR=<%= node[:passenger][:instance_registry_dir] %> /usr/bin/passenger-config restart-app --ignore-app-not-running <%= @rails_directory %> > /dev/null