From b1477a5f7b4ed17b2bcbdcc237544cac2a2c3a69f8fa9252b6e1a00fdc1063d8 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Wed, 14 Oct 2020 10:05:42 +0000 Subject: [PATCH] Accepting request 841741 from home:fbui:branches:Apache - /var/run is depracted, /run should be used instead OBS-URL: https://build.opensuse.org/request/show/841741 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=622 --- apache2.changes | 5 +++++ start_apache2 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apache2.changes b/apache2.changes index 70078d4..a2b1cd0 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 14 09:43:08 UTC 2020 - Franck Bui + +- /var/run is depracted, /run should be used instead + ------------------------------------------------------------------- Wed Oct 14 06:43:21 UTC 2020 - Franck Bui diff --git a/start_apache2 b/start_apache2 index c39c002..123abaf 100644 --- a/start_apache2 +++ b/start_apache2 @@ -79,7 +79,7 @@ sysconfd_dir=$(dirname $httpd_conf)/sysconfig${instance_suffix}.d/ # be used in the configuration to change this, otherwise # stopping will not work # -pid_file=/var/run/httpd${instance_suffix}.pid +pid_file=/run/httpd${instance_suffix}.pid unset sysconfig_setting #