git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add cron script to sync plc db and rt every hour
[monitor.git]
/
Monitor.spec
diff --git
a/Monitor.spec
b/Monitor.spec
index
4a57efe
..
6d4bf82
100644
(file)
--- a/
Monitor.spec
+++ b/
Monitor.spec
@@
-225,6
+225,7
@@
rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
/usr/share/%{name}/rt3
%{_sysconfdir}/plc.d/rt3
%defattr(-,root,root)
/usr/share/%{name}/rt3
%{_sysconfdir}/plc.d/rt3
+%{_sysconfdir}/cron.d/syncrcusers.cron
%files pcucontrol
%{python_sitearch}/pcucontrol
%files pcucontrol
%{python_sitearch}/pcucontrol
@@
-271,6
+272,7
@@
plc-config --save /etc/planetlab/default_config.xml \
%post rt
plc-config --save /etc/planetlab/default_config.xml \
--category plc_rt --variable enabled --value true
%post rt
plc-config --save /etc/planetlab/default_config.xml \
--category plc_rt --variable enabled --value true
+install -D -m 644 /usr/share/monitor/rt3/synncrtusers.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/syncrcusers.cron
%post server
# TODO: this will be nice when we have a web-based service running., such as
%post server
# TODO: this will be nice when we have a web-based service running., such as