dragonfly/tools/packaging/debian
Roman Gershman 6e76f8e6cc
fix: logrotate for dragonfly logs (#1972)
The new logrotate settings assume that dragonfly closes a log file
once it grows to large. It never rotates file that is currently open for writing.

Specifically logrotate:

1. rotate only log files
2. skip those that are currently open by as process.
3. compresses using zstd which is more cpu efficient than gzip
4. does not truncate/create old files as 0-sized blobs - just renames them

Fixes #1935

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2023-10-09 20:08:37 +03:00
..
compat feat(build): debian package building (#689) 2023-01-16 17:44:53 +02:00
control fix: logrotate for dragonfly logs (#1972) 2023-10-09 20:08:37 +03:00
dragonfly.conf fix: logrotate for dragonfly logs (#1972) 2023-10-09 20:08:37 +03:00
dragonfly.install feat(build): debian package building (#689) 2023-01-16 17:44:53 +02:00
dragonfly.logrotate fix: logrotate for dragonfly logs (#1972) 2023-10-09 20:08:37 +03:00
dragonfly.postinst feat(build): debian package building (#689) 2023-01-16 17:44:53 +02:00
dragonfly.postrm feat(build): debian package building (#689) 2023-01-16 17:44:53 +02:00
dragonfly.preinst feat(build): debian package building (#689) 2023-01-16 17:44:53 +02:00
dragonfly.service fix: systemd configuration (#1097) 2023-04-16 06:41:02 -07:00
rules feat(debian): retain debug symbols in deb package (#1464) 2023-06-22 19:12:10 +03:00