Browse Source

Add logrotate

Guzmán Castanedo Villalba 7 years ago
parent
commit
a2a8992ea9
1 changed files with 8 additions and 0 deletions
  1. 8 0
      scripts/logrotate.d/backup-server

+ 8 - 0
scripts/logrotate.d/backup-server

@@ -0,0 +1,8 @@
+/var/log/backup-server.log {
+	weekly
+	missingok
+	rotate 15
+	compress
+	notifempty
+	create 0640 root adm
+}