Compare commits
	
		
			3 Commits
		
	
	
		
			702e039e11
			...
			3f08853826
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 3f08853826 | ||
|  | c01ea25ed1 | ||
|  | 698c19b8ed | 
| @ -1,7 +1,7 @@ | ||||
| ### Rotate backup log file | ||||
| 
 | ||||
| # location of log file (-l parameter of script file) | ||||
| /path/to/backup.log { | ||||
| /path/to/pilerbackup.log { | ||||
|      | ||||
|     # rotate log file weekly -- you could also use 'daily', 'monthly' or | ||||
|     # specify a size using 'size 100k', for example | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Location of your script's log file, -l parameter | ||||
| LogFile = /path/to/your/backup.log | ||||
| LogFile = /path/to/your/pilerbackup.log | ||||
| 
 | ||||
| # Format of logrotate archives for your script. Example assumes compression and | ||||
| # extension preservation | ||||
| Archive = /path/to/your/logfile.ext.?.gz | ||||
| Archive = /path/to/your/pilerbackup.log.?.gz | ||||
| 
 | ||||
| # Apply the correct date/time filtering to match the format of the script's log | ||||
| # We are using a custom pl script in /etc/logwatch/scripts/shared/ You don't | ||||
|  | ||||
| @ -34,7 +34,7 @@ if ($detailLevel == 0) { | ||||
|         elsif ($ThisLine =~ /\-- \[WARNING\] /) { | ||||
|             $summaryWarn++; | ||||
|         } | ||||
|         elsif ($ThisLine =~ /All processes completed successfully/) { | ||||
|         elsif ($ThisLine =~ /All processes completed/) { | ||||
|             $summarySuccess++; | ||||
|         } | ||||
|     } | ||||
|  | ||||
| @ -31,7 +31,9 @@ | ||||
| # root user files | ||||
| /root/.bashrc | ||||
| /root/.ssh/ | ||||
| /root/scripts/ | ||||
| 
 | ||||
| # scripts | ||||
| /scripts/ | ||||
| 
 | ||||
| 
 | ||||
| ### piler configuration files and KEY! | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user