git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc43eb
)
Gzip old nm log
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 23 Jul 2007 18:21:36 +0000
(18:21 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 23 Jul 2007 18:21:36 +0000
(18:21 +0000)
NodeManager.spec
patch
|
blob
|
history
diff --git
a/NodeManager.spec
b/NodeManager.spec
index
dd3984c
..
017c1f7
100644
(file)
--- a/
NodeManager.spec
+++ b/
NodeManager.spec
@@
-49,6
+49,9
@@
install -D -m 755 nm.init $RPM_BUILD_ROOT/%{_initrddir}/nm
install -D -m 644 nm.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/nm
%post
+if [ -e /var/log/nm ] ; then
+ gzip /var/log/nm
+fi
chkconfig --add conf_files
chkconfig conf_files on
chkconfig --add nm