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
|
||||
56atd
|
||||
atd.init
|
||||
atd.sysconf
|
||||
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user