Files
nginx-ldap-auth/nginx-ldap-auth.logrotate
Alexander Fisher 61d8777204 Fix logrotate and update rpm spec file
* Create log directory in spec file
* Fix logrotate file
2018-11-16 13:01:18 +00:00

10 lines
214 B
Plaintext

/var/log/nginx-ldap-auth/daemon.log {
compress
delaycompress
create 0644 nginx-ldap-auth nginx-ldap-auth
su nginx-ldap-auth nginx-ldap-auth
postrotate
/usr/bin/systemctl restart nginx-ldap-auth
endscript
}