mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
rebuild error document if it does not exist
This commit is contained in:
parent
d21cea188e
commit
13847a198f
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ for domain in $(shell_list) ; do
|
||||||
ln -f -s /var/log/httpd/domains/$domain.error.log \
|
ln -f -s /var/log/httpd/domains/$domain.error.log \
|
||||||
$HOMEDIR/$user/web/$domain/logs/$domain.error.log
|
$HOMEDIR/$user/web/$domain/logs/$domain.error.log
|
||||||
|
|
||||||
if [ -e "$WEBTPL/skel/document_errors/" ]; then
|
if [ ! -e "$WEBTPL/skel/document_errors/" ]; then
|
||||||
cp -r $WEBTPL/skel/document_errors/ $HOMEDIR/$user/web/$domain/
|
cp -r $WEBTPL/skel/document_errors/ $HOMEDIR/$user/web/$domain/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue