Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:other_services:logrotate [2022-09-05 Mon wk36 15:56] – [logrotate] baumkphome_server:home_server_setup:other_services:logrotate [2023-12-26 Tue wk52 11:30] (current) – [Links] baumkp
Line 35: Line 35:
 Remember to make executable (''sudo chmod +x /home/shared/Myscripts/rotatelog.sh'') Remember to make executable (''sudo chmod +x /home/shared/Myscripts/rotatelog.sh'')
  
 +====logrotate====
 +  -Install logrotate
 +    - debian: ''sudo apt install logrotate''
 +    - Arch: ''sudo pacman -S logrotate''
 +  *The main logrotate configuration file is here: ''/etc/logrotate.conf''
 +  *
  
-<- home_server:home_server_setup:other_services:samba|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:misc|Next ->+====Links==== 
 +[[https://www.linuxshelltips.com/rotate-logs-with-logrotate-linux/|How to Rotate Logs With Logrotate in Linux]] 
 + 
 + 
 +<- home_server:home_server_setup:other_services:samba|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:firmware|Next ->