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:
commit
b0264bb63c
@ -709,13 +709,6 @@ in
|
|||||||
''}
|
''}
|
||||||
mkdir -m 0700 -p ${mainCfg.logDir}
|
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
|
# Get rid of old semaphores. These tend to accumulate across
|
||||||
# server restarts, eventually preventing it from restarting
|
# server restarts, eventually preventing it from restarting
|
||||||
# successfully.
|
# successfully.
|
||||||
|
Loading…
Reference in New Issue
Block a user