Skip to content

Commit

Permalink
fix service file
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Feb 14, 2025
1 parent 0e31cb3 commit be64712
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/rpm/unit.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ DESTDIR=%{buildroot} make unitd-install libunit-install manpage-install E=0
%{__rm} -rf %{buildroot}%{_initrddir}/
%{__install} -p -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/unit.service
%{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/unit-debug.service
# relocate when sbindir is /usr/bin
sed -e 's:/usr/sbin:%{_sbindir}:' -i %{buildroot}%{_unitdir}/*.service


%if (0%{?fedora}) || (0%{?rhel} >= 8) || (0%{?amzn2})
%{__mkdir} -p %{buildroot}%{_includedir}/unit/
Expand Down

0 comments on commit be64712

Please sign in to comment.