729742 fix 56atd script for systemd

This commit is contained in:
Marcela Mašláňová 2011-10-05 18:26:18 +02:00
parent d6845c84b2
commit e595e9b0c0
4 changed files with 22 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
at_3.1.10.tar.gz
56atd
atd.init
atd.sysconf
test.pl

18
56atd Normal file
View File

@ -0,0 +1,18 @@
#!/bin/sh
#
. "${PM_FUNCTIONS}"
case "$1" in
hibernate|suspend)
;;
thaw|resume)
if [ -d /etc/init.d/atd ]; then
/etc/init.d/atd restart
elif
systemctl try-restart atd.service
fi
;;
*) exit $NA
;;
esac

View File

@ -3,7 +3,7 @@
Summary: Job spooling tools
Name: at
Version: 3.1.13
Release: 2%{dist}
Release: 3%{dist}
License: GPLv2+
Group: System Environment/Daemons
URL: http://ftp.debian.org/debian/pool/main/a/at
@ -188,6 +188,9 @@ fi
%attr(0755,root,root) %{_initrddir}/atd
%changelog
* Wed Sep 4 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-3
- 729742 fix 56atd script for systemd
* Mon Aug 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-2
- rebuilt with new rpm
- Related: rhbz#728707

View File

@ -1,4 +1,3 @@
053188856f8d971c6239ed973cb85794 56atd
b117781fd68e393443b2a8e478c7c22f atd.init
ac1471fe22f63f666dc7d31173f47ea0 atd.sysconf
000d2f30379d2bf8af09f51416e863ec pam_atd