X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fvcached.logrotate;fp=scripts%2Fvcached.logrotate;h=203baba948d2ae6eb6cfa12741ccebb08988fea5;hb=780710c3d80b8776944dd1fc65a0fda64f399db0;hp=0000000000000000000000000000000000000000;hpb=8cf13bb177d92c93eb73dc8939777150536c2d00;p=util-vserver.git diff --git a/scripts/vcached.logrotate b/scripts/vcached.logrotate new file mode 100644 index 0000000..203baba --- /dev/null +++ b/scripts/vcached.logrotate @@ -0,0 +1,10 @@ +/var/log/vcached.log { + compress + daily + notifempty + rotate 5 + missingok + postrotate + kill -HUP `cat /var/run/vcached.pid 2>/dev/null` 2>/dev/null || true + endscript +}