From f7f21214711e1f335a238279c4bfa62bd1652833 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 14 Apr 2006 17:07:56 +0000 Subject: [PATCH] - restart apache in %postun rather in %preun as the config file, loading module is still there and module will be loaded after package is uninstalled, which later causes missing configuration file errors. Changed files: apache-mod_cband.spec -> 1.15 --- apache-mod_cband.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache-mod_cband.spec b/apache-mod_cband.spec index 47bd783..be7fca8 100644 --- a/apache-mod_cband.spec +++ b/apache-mod_cband.spec @@ -55,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT %post %service -q httpd restart -%preun +%postun if [ "$1" = "0" ]; then %service -q httpd restart fi -- 2.43.0