Merge pull request #21703 from copumpkin/httpd-no-mkdir

httpd module: don't create documentRoot directory if it doesn't exist
This commit is contained in:
Daniel Peebles 2017-01-09 00:28:41 -05:00 committed by GitHub
commit b0264bb63c

View File

@ -709,13 +709,6 @@ in
''}
mkdir -m 0700 -p ${mainCfg.logDir}
${optionalString (mainCfg.documentRoot != null)
''
# Create the document root directory if does not exists yet
mkdir -p ${mainCfg.documentRoot}
''
}
# Get rid of old semaphores. These tend to accumulate across
# server restarts, eventually preventing it from restarting
# successfully.