Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Create eucalyptus-imaging-worker directories

  • Loading branch information...
commit 73c74a61a145d4a0cdfdc833097ae8c3ed4e38b1 1 parent 70170fb
@viglesiasce viglesiasce authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 eucalyptus-imaging-worker.spec
View
6 eucalyptus-imaging-worker.spec
@@ -48,9 +48,9 @@ rm -rf $RPM_BUILD_ROOT
# It will only be read by sudo if there is *no* extension
#
install -p -m 0440 -D scripts/imaging-worker-sudo.conf $RPM_BUILD_ROOT/%{_sysconfdir}/sudoers.d/imaging-worker
-install -p -m 755 -D scripts/imaging-worker-init $RPM_BUILD_ROOT/%{_initddir}/imaging-worker
+install -p -m 755 -D scripts/imaging-worker-init $RPM_BUILD_ROOT/%{_initddir}/%{name}
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 -m 6700 -d $RPM_BUILD_ROOT/%{_var}/{run,lib,log}/%{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
@@ -74,7 +74,7 @@ fi
%{python_sitelib}/*
%{_bindir}/%{name}
%{_sysconfdir}/sudoers.d/imaging-worker
-%{_initddir}/imaging-worker
+%{_initddir}/%{name}
%{_libexecdir}/%{name}
%config(noreplace) %{_sysconfdir}/cron.d/imaging-worker

0 comments on commit 73c74a6

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