From: Faiyaz Ahmed Date: Wed, 2 Apr 2008 14:33:48 +0000 (+0000) Subject: Added logrotate to package. X-Git-Tag: CoDemux-0.1-9~6 X-Git-Url: http://git.onelab.eu/?p=codemux.git;a=commitdiff_plain;h=1607ccd6b469b94f68edc8205332b33a2ff3f9e2 Added logrotate to package. --- diff --git a/codemux.logrotate b/codemux.logrotate new file mode 100644 index 0000000..18c64bc --- /dev/null +++ b/codemux.logrotate @@ -0,0 +1,8 @@ +/var/log/codemux.log { + copytruncate + compress + daily + notifempty + rotate 5 + missingok +} diff --git a/codemux.spec b/codemux.spec index 2a55c61..f889fcb 100644 --- a/codemux.spec +++ b/codemux.spec @@ -37,6 +37,7 @@ make clean make RPM_VERSION=%{version}.%{taglevel} %install +install -D -m 644 codemux.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/codemux rm -rf $RPM_BUILD_ROOT make INSTALL_ROOT=$RPM_BUILD_ROOT install