Capistrano recipe
This commit is contained in:
11
config/deploy/shared/log_rotation.erb
Executable file
11
config/deploy/shared/log_rotation.erb
Executable file
@@ -0,0 +1,11 @@
|
||||
<%= fetch(:deploy_to) %>/shared/log/*.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
sharedscripts
|
||||
endscript
|
||||
copytruncate
|
||||
}
|
||||
Reference in New Issue
Block a user