From dbb14e7875295da0e6dfe4a9c520ce705dee8f8d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 21 Aug 2014 11:18:12 +0200 Subject: services/apache: create /run/httpd before starting httpd. --- services/apache/run | 3 +++ 1 file changed, 3 insertions(+) (limited to 'services') diff --git a/services/apache/run b/services/apache/run index 3d8def1..5fcf647 100755 --- a/services/apache/run +++ b/services/apache/run @@ -1,2 +1,5 @@ #!/bin/sh +mkdir -p /run/httpd || exit 1 +chmod 0710 /run/httpd || exit 1 +chown root:httpd /run/httpd || exit 1 exec httpd -DNO_DETACH -- cgit 1.4.1