From: Vincent Bernat Date: Fri, 29 Jun 2012 04:28:11 +0000 (+0200) Subject: redhat: properly restart lldpd on upgrade X-Git-Tag: 0.6.1~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f00bebf686b03359ed1df263ca3764c4019a0a3d;p=thirdparty%2Flldpd.git redhat: properly restart lldpd on upgrade --- diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index 2f126e51..a9240924 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -167,7 +167,7 @@ if getent passwd %lldpd_user >/dev/null 2>&1 ; then : ; else \ /sbin/chkconfig --add lldpd %postun if [ "$1" -ge "1" ]; then - /sbin/service lldpd >/dev/null 2>&1 || : + /sbin/service lldpd condrestart >/dev/null 2>&1 || : fi %preun if [ "$1" = "0" ]; then