From: Vincent Bernat Date: Tue, 7 Mar 2017 10:19:08 +0000 (+0100) Subject: redhat: ensure /etc/sysconfig/lldpd is correctly populated X-Git-Tag: 0.9.7~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e892b1599cc51658f09282a308be4d7c390b279;p=thirdparty%2Flldpd.git redhat: ensure /etc/sysconfig/lldpd is correctly populated Patch courtesy of Martin Hauke. See: https://build.opensuse.org/request/show/477422 --- diff --git a/redhat/lldpd.spec b/redhat/lldpd.spec index e7b7a169..b6290d02 100644 --- a/redhat/lldpd.spec +++ b/redhat/lldpd.spec @@ -224,6 +224,7 @@ if getent passwd %lldpd_user >/dev/null 2>&1 ; then : ; else \ %if 0%{?suse_version} >= 1210 && %{with systemd} %post %service_add_post lldpd.service +%{fillup_only} %preun %service_del_preun lldpd.service %postun