Ensure that a clamd and clamav-milter condrestart via initscript works (#1018312, thanks to Filippo Carletti)

This commit is contained in:
Robert Scheck 2013-10-19 14:18:35 +02:00
parent 9fa6d109df
commit c4cf2b1e61
3 changed files with 4 additions and 3 deletions

View File

@ -47,7 +47,7 @@ case "$1" in
RETVAL=$? RETVAL=$?
;; ;;
condrestart) condrestart)
[ -e /var/lock/subsys/clamd ] && restart [ -e /var/lock/subsys/clamav-milter ] && $0 restart
RETVAL=$? RETVAL=$?
;; ;;
*) *)

View File

@ -46,7 +46,7 @@ case "$1" in
RETVAL=$? RETVAL=$?
;; ;;
condrestart) condrestart)
[ -e /var/lock/subsys/clamd ] && restart [ -e /var/lock/subsys/clamd ] && $0 restart
RETVAL=$? RETVAL=$?
;; ;;
*) *)
@ -55,4 +55,3 @@ case "$1" in
esac esac
exit $RETVAL exit $RETVAL

View File

@ -398,6 +398,8 @@ rm -rf %{buildroot}
* Sat Oct 19 2013 Robert Scheck <robert@fedoraproject.org> - 0.98-2 * Sat Oct 19 2013 Robert Scheck <robert@fedoraproject.org> - 0.98-2
- Really fix all discrepancies between clamd initscript and clamd - Really fix all discrepancies between clamd initscript and clamd
config file (#960923, thanks to John Horne) config file (#960923, thanks to John Horne)
- Ensure that a clamd and clamav-milter condrestart via initscript
works (#1018312, thanks to Filippo Carletti)
* Sun Oct 06 2013 Robert Scheck <robert@fedoraproject.org> - 0.98-1 * Sun Oct 06 2013 Robert Scheck <robert@fedoraproject.org> - 0.98-1
- Upgrade to 0.98 and updated main.cvd and daily.cvd (#1010168) - Upgrade to 0.98 and updated main.cvd and daily.cvd (#1010168)