[root@kaltura logrotate]# diff -u kaltura_batch kaltura_batch.backup
--- kaltura_batch 2016-04-13 15:01:09.966485743 +0800
+++ kaltura_batch.backup 2016-04-13 15:01:09.959485747 +0800
@@ -11,6 +11,7 @@
postrotate
service kaltura-batch start 2>&1 >/dev/null || true
endscript
+ su root kaltura
}
/opt/kaltura/log/batch/*log {
@@ -20,5 +21,6 @@
rotate 40
create 644
missingok
+ su root kaltura
}
--- kaltura_populate 2016-04-13 15:01:10.075485667 +0800
+++ kaltura_populate.backup 2016-04-13 15:01:10.062485676 +0800
@@ -9,4 +9,5 @@
postrotate
service kaltura-populate restart
endscript
+ su root kaltura
}
or u got errors on logrotate.