]> git.openstreetmap.org Git - chef.git/commitdiff
Fix log rotation for dev apis
authorTom Hughes <tom@compton.nu>
Wed, 31 Oct 2018 22:36:44 +0000 (22:36 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 31 Oct 2018 22:36:44 +0000 (22:36 +0000)
cookbooks/dev/templates/default/logrotate.apis.erb

index 2b5b746414b09461fa9d0532ee826be25934e3dd..bd984cdd0bb8edc4d3f7246c9134f0add9d84439 100644 (file)
@@ -7,7 +7,7 @@
   compress
   delaycompress
   notifempty
   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
   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