Set correct systemd service default on upgrade (bug #748841).
This commit is contained in:
parent
a660226894
commit
d44ca3247c
@ -13,7 +13,7 @@
|
||||
Summary: Common Unix Printing System
|
||||
Name: cups
|
||||
Version: 1.5.0
|
||||
Release: 18%{?dist}
|
||||
Release: 19%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
|
||||
@ -486,6 +486,9 @@ exit 0
|
||||
# to migrate them to systemd targets
|
||||
%{_bindir}/systemd-sysv-convert --save %{name} >/dev/null 2>&1 || :
|
||||
|
||||
# This package is allowed to autostart:
|
||||
/bin/systemctl --no-reload enable %{name}.{service,socket,path} || :
|
||||
|
||||
# Run these because the SysV package being removed won't do them
|
||||
/sbin/chkconfig --del cups >/dev/null 2>&1 || :
|
||||
/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
@ -646,6 +649,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man1/ipptool.1.gz
|
||||
|
||||
%changelog
|
||||
* Mon Oct 31 2011 Tim Waugh <twaugh@redhat.com> 1:1.5.0-19
|
||||
- Set correct systemd service default on upgrade (bug #748841).
|
||||
|
||||
* Wed Oct 19 2011 Tim Waugh <twaugh@redhat.com> 1:1.5.0-18
|
||||
- Make sure to guard against retrying the Avahi connection whilst
|
||||
already doing so (Ubuntu #877967).
|
||||
|
Loading…
Reference in New Issue
Block a user