Skip to content

Commit ea176cd

Browse files
authored
DEV: Make logrotate conf compatible with Pitchfork (#1011)
As we’re migrating from Unicorn to Pitchfork, we need to do some adjustments. Indeed, Pitchfork doesn’t handle logs at all and delegates this to the underlying system. Therefore, it doesn’t respond to signals like Unicorn when rotating its logs. The solution is to use `copytruncate` which works with any app.
1 parent dfbf089 commit ea176cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

templates/web.template.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,7 @@ run:
296296
delaycompress
297297
compress
298298
sharedscripts
299-
postrotate
300-
sv 1 unicorn
301-
endscript
299+
copytruncate
302300
}
303301
304302
- file:

0 commit comments

Comments
 (0)