729742 fix 56atd script for systemd
This commit is contained in:
parent
d6845c84b2
commit
e595e9b0c0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
|||||||
at_3.1.10.tar.gz
|
at_3.1.10.tar.gz
|
||||||
56atd
|
|
||||||
atd.init
|
atd.init
|
||||||
atd.sysconf
|
atd.sysconf
|
||||||
test.pl
|
test.pl
|
||||||
|
18
56atd
Normal file
18
56atd
Normal 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
|
5
at.spec
5
at.spec
@ -3,7 +3,7 @@
|
|||||||
Summary: Job spooling tools
|
Summary: Job spooling tools
|
||||||
Name: at
|
Name: at
|
||||||
Version: 3.1.13
|
Version: 3.1.13
|
||||||
Release: 2%{dist}
|
Release: 3%{dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://ftp.debian.org/debian/pool/main/a/at
|
URL: http://ftp.debian.org/debian/pool/main/a/at
|
||||||
@ -188,6 +188,9 @@ fi
|
|||||||
%attr(0755,root,root) %{_initrddir}/atd
|
%attr(0755,root,root) %{_initrddir}/atd
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Aug 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-2
|
||||||
- rebuilt with new rpm
|
- rebuilt with new rpm
|
||||||
- Related: rhbz#728707
|
- Related: rhbz#728707
|
||||||
|
1
sources
1
sources
@ -1,4 +1,3 @@
|
|||||||
053188856f8d971c6239ed973cb85794 56atd
|
|
||||||
b117781fd68e393443b2a8e478c7c22f atd.init
|
b117781fd68e393443b2a8e478c7c22f atd.init
|
||||||
ac1471fe22f63f666dc7d31173f47ea0 atd.sysconf
|
ac1471fe22f63f666dc7d31173f47ea0 atd.sysconf
|
||||||
000d2f30379d2bf8af09f51416e863ec pam_atd
|
000d2f30379d2bf8af09f51416e863ec pam_atd
|
||||||
|
Loading…
Reference in New Issue
Block a user