Skip to content
Browse files

Use static name for cron

  • Loading branch information...
1 parent f03112d commit 4b2cc86fba76dcfc63e5ceffede132913baa7131 @viglesiasce viglesiasce committed Feb 22, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 eucalyptus-imaging-worker.spec
View
4 eucalyptus-imaging-worker.spec
@@ -52,8 +52,8 @@ install -p -m 755 -D scripts/imaging-worker-init $RPM_BUILD_ROOT/%{_initddir}/im
install -p -m 755 -D scripts/worker-ntp-update $RPM_BUILD_ROOT%{_libexecdir}/%{name}/ntp-update
install -m 6700 -d $RPM_BUILD_ROOT/%{_var}/{run,lib,log}/imaging-worker
-install -p -m 0750 -D scripts/%{name}.cron $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name}
-chmod 0640 $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name}
+install -p -m 0750 -D scripts/imaging-worker.cron $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/imaging-worker
+chmod 0640 $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/imaging-worker
%clean
rm -rf $RPM_BUILD_ROOT

0 comments on commit 4b2cc86

Please sign in to comment.
Something went wrong with that request. Please try again.