[bandwidthd: 3/5] added systemd service
Ján ONDREJ
ondrejj at fedoraproject.org
Thu Nov 17 08:26:09 UTC 2011
commit ceae8f10c0790d367729afc5f084e284d7583716
Author: Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
Date: Thu Nov 17 09:21:26 2011 +0100
added systemd service
bandwidthd.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bandwidthd.spec b/bandwidthd.spec
index 88a674b..2e36479 100644
--- a/bandwidthd.spec
+++ b/bandwidthd.spec
@@ -71,6 +71,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
# init script
install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
%if 0%{?fedora} || 0%{?rhel} > 6
+mkdir -p $RPM_BUILD_ROOT%{_unitdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_unitdir}/
%else
install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
More information about the scm-commits
mailing list