Summary: PlanetLab Node Manager
Name: NodeManager
-Version: 1.4
+Version: 1.5
Release: 2%{?pldistro:.%{pldistro}}%{?date:.%{date}}
License: PlanetLab
Group: System Environment/Daemons
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
chkconfig nm on
-service nm restart
+service nm stop
+service nm start
%preun