From 0e892b1599cc51658f09282a308be4d7c390b279 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 7 Mar 2017 11:19:08 +0100 Subject: [PATCH] redhat: ensure /etc/sysconfig/lldpd is correctly populated Patch courtesy of Martin Hauke. See: https://build.opensuse.org/request/show/477422 --- redhat/lldpd.spec | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5