diff options
author | Allen Zhong | 2022-04-01 12:08:25 +0800 |
---|---|---|
committer | Allen Zhong | 2022-04-15 17:34:32 +0800 |
commit | 9ac0541a2c2b43585cee58b1f271246660a90651 (patch) | |
tree | 6f6c59f2408164ec4f0ee3028bbd50c4a7eb21b0 /logrotate | |
parent | ffabc5191f4f01449f11d2bc5f639ec4fee2a623 (diff) | |
download | aur-9ac0541a2c2b43585cee58b1f271246660a90651.tar.gz |
add logrotate
Diffstat (limited to 'logrotate')
-rw-r--r-- | logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/logrotate b/logrotate new file mode 100644 index 000000000000..7d8389ad4bcf --- /dev/null +++ b/logrotate @@ -0,0 +1,13 @@ +/var/log/hockeypuck/*log { + daily + missingok + create 640 hockeypuck log + rotate 7 + compress + delaycompress + notifempty + size 50M + postrotate + /usr/bin/systemctl reload hockeypuck + endscript +} |