mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-10 18:16:22 +00:00
packaging: Use 0640 (frr:frr) as permissions when running under logrotate
When we do "log file /var/log/frr/something", permissions are set to 0640 (frr:frr), but when the logrotate kicks in, we have 0640 (frr:frrvty). I believe, we should have a consistent permissions. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
9bf7cb0b74
commit
b5b09eee6d
2
debian/frr.logrotate
vendored
2
debian/frr.logrotate
vendored
@ -4,7 +4,7 @@
|
||||
missingok
|
||||
compress
|
||||
rotate 14
|
||||
create 640 frr frrvty
|
||||
create 0640 frr frr
|
||||
|
||||
postrotate
|
||||
pid=$(lsof -t -a -c /syslog/ /var/log/frr/* 2>/dev/null)
|
||||
|
Loading…
Reference in New Issue
Block a user