diff --git a/.gitignore b/.gitignore index 7e34829..4d9f8d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ at_3.1.10.tar.gz -56atd atd.init atd.sysconf test.pl diff --git a/56atd b/56atd new file mode 100644 index 0000000..6cf9a8a --- /dev/null +++ b/56atd @@ -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 diff --git a/at.spec b/at.spec index 745786e..9315fad 100644 --- a/at.spec +++ b/at.spec @@ -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á - 3.1.13-3 +- 729742 fix 56atd script for systemd + * Mon Aug 15 2011 Marcela Mašláňová - 3.1.13-2 - rebuilt with new rpm - Related: rhbz#728707 diff --git a/sources b/sources index 9ff8dcd..9877be7 100644 --- a/sources +++ b/sources @@ -1,4 +1,3 @@ -053188856f8d971c6239ed973cb85794 56atd b117781fd68e393443b2a8e478c7c22f atd.init ac1471fe22f63f666dc7d31173f47ea0 atd.sysconf 000d2f30379d2bf8af09f51416e863ec pam_atd