From b53feeee0e6ce0e9dc67fdd42907f9bafd862c1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 10 Jul 2005 13:11:35 +0000 Subject: [PATCH] - sample for $RPM_SKIP_AUTO_RESTART Changed files: apache.sysconfig -> 1.8 apache1.sysconfig -> 1.4 --- apache.sysconfig | 6 ++++++ apache1.sysconfig | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/apache.sysconfig b/apache.sysconfig index 6a10fa8..eeaabd3 100644 --- a/apache.sysconfig +++ b/apache.sysconfig @@ -17,3 +17,9 @@ HTTPD_MPM="prefork" # perhaps set 128MB memory limit #SERVICE_LIMITS="$DEFAULT_SERVICE_LIMITS -m 128000" + +# Skip apache restarts invoked from rpm installs. +# Enable this if you run a production server and don't want rpm upgrade restart +# your webserver like 20 times. But you should be aware of that then you need +# to restart by hand the webserver. +RPM_SKIP_AUTO_RESTART=no diff --git a/apache1.sysconfig b/apache1.sysconfig index 69b701b..3a6676e 100644 --- a/apache1.sysconfig +++ b/apache1.sysconfig @@ -6,3 +6,8 @@ SERVICE_RUN_NICE_LEVEL="+5" # Cmdline options HTTPD_OPTS="" +# Skip apache restarts invoked from rpm installs. +# Enable this if you run a production server and don't want rpm upgrade restart +# your webserver like 20 times. But you should be aware of that then you need +# to restart by hand the webserver. +RPM_SKIP_AUTO_RESTART=no -- 2.44.0