Created
March 10, 2019 18:59
-
-
Save roman-wb/b4677d36f96e6786608e3357f50896e7 to your computer and use it in GitHub Desktop.
Logrotate sample for user and app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /home/user/app/shared/log/*.log { | |
| su root root | |
| rotate 10 | |
| size=10M | |
| compress | |
| copytruncate | |
| missingok | |
| daily | |
| notifempty | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment