diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2014-10-21 11:54:05 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2014-10-21 11:54:05 +0000 |
commit | 451d5797fae6b8c3182538012abeb77dc67545f6 (patch) | |
tree | 1d66f3e620a72462acad9397e62d861f7b4de1ea /packaging | |
parent | 241474b0d9e8cd99b440f38890bcb78eaac34b74 (diff) | |
download | cups-451d5797fae6b8c3182538012abeb77dc67545f6.tar.gz |
Add systemd support for cups-lpd (STR #4493)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12221 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/cups.spec.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packaging/cups.spec.in b/packaging/cups.spec.in index c4c547fc3..07d7f895a 100644 --- a/packaging/cups.spec.in +++ b/packaging/cups.spec.in @@ -180,7 +180,7 @@ rm -rf $RPM_BUILD_ROOT %if %{?_with_systemd:1}%{!?_with_systemd:0} # SystemD -/usr/lib/systemd/system/* +/usr/lib/systemd/system/org.cups.cupsd.* %else # Legacy init support on Linux @@ -379,7 +379,14 @@ rm -rf $RPM_BUILD_ROOT %files lpd %defattr(-,root,root) +%if %{?_with_systemd:1}%{!?_with_systemd:0} +# SystemD +/usr/lib/systemd/system/org.cups.cups-lpd* +%else +# Legacy xinetd /etc/xinetd.d/cups-lpd +%endif + %dir /usr/lib/cups %dir /usr/lib/cups/daemon /usr/lib/cups/daemon/cups-lpd |