diff options
author | Juan RP <xtraeme@gmail.com> | 2014-08-21 11:18:12 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-08-21 11:18:12 +0200 |
commit | dbb14e7875295da0e6dfe4a9c520ce705dee8f8d (patch) | |
tree | 65e7621728ea30c48dd0bb18c03d15c7a3f35cb5 /services | |
parent | c5824f08a22d8af5b188fb2b36574b1bb7479810 (diff) | |
download | runit-void-dbb14e7875295da0e6dfe4a9c520ce705dee8f8d.tar.gz runit-void-dbb14e7875295da0e6dfe4a9c520ce705dee8f8d.tar.xz runit-void-dbb14e7875295da0e6dfe4a9c520ce705dee8f8d.zip |
services/apache: create /run/httpd before starting httpd.
Diffstat (limited to 'services')
-rwxr-xr-x | services/apache/run | 3 |
1 files changed, 3 insertions, 0 deletions
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 |