Last active
January 9, 2020 22:57
-
-
Save Vince0789/a6f8314317f936d2d38e5b88e7b84a18 to your computer and use it in GitHub Desktop.
Configuration file for logrotate to rotate SA-MP server logs.
This file contains 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
/path/to/server/server_log.txt { | |
daily | |
rotate 30 | |
dateext | |
extension .txt | |
olddir /var/log/samp03svr | |
missingok | |
compress | |
create | |
postrotate | |
killall -SIGUSR1 samp03svr | |
endscript | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment