X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Monitor.spec;h=73ac21a98cbd2f76549d2b73c6bdcb99eb9dc140;hb=abfb0b630fac7e9217cdeb6330ad884b3bec38d7;hp=4a57efe07be9c7ac1f123e21cadde9af0bf093ec;hpb=9521da7dc59534f746fed002967bd47a386ce8a3;p=monitor.git diff --git a/Monitor.spec b/Monitor.spec index 4a57efe..73ac21a 100644 --- a/Monitor.spec +++ b/Monitor.spec @@ -183,6 +183,9 @@ install -D -m 755 threadpool.py $RPM_BUILD_ROOT/%{python_sitearch}/threadpool.py touch $RPM_BUILD_ROOT/var/www/cgi-bin/monitor/monitorconfig.php chmod 777 $RPM_BUILD_ROOT/var/www/cgi-bin/monitor/monitorconfig.php +install -D -m 644 rt3/rt.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/rt.cron +chmod 755 $RPM_BUILD_ROOT/usr/share/%{name}/rt3/adduserstort.pl +chmod 755 $RPM_BUILD_ROOT/usr/share/%{name}/rt3/rtcron.d/*.sh #install -D -m 755 monitor-default.conf $RPM_BUILD_ROOT/etc/monitor.conf #cp $RPM_BUILD_ROOT/usr/share/%{name}/monitorconfig-default.py $RPM_BUILD_ROOT/usr/share/%{name}/monitorconfig.py @@ -225,6 +228,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) /usr/share/%{name}/rt3 %{_sysconfdir}/plc.d/rt3 +%{_sysconfdir}/cron.d/rt.cron %files pcucontrol %{python_sitearch}/pcucontrol @@ -297,6 +301,10 @@ chkconfig monitor on %post runlevelagent chkconfig --add monitor-runlevelagent chkconfig monitor-runlevelagent on +if [ "$PL_BOOTCD" != "1" ] ; then + service monitor-runlevelagent restart +fi + %changelog * Thu Jun 18 2009 Stephen Soltesz - Monitor-3.0-17