mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
fallback for missing backend template
This commit is contained in:
parent
b67632d578
commit
d8e6411e94
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ chmod 551 $HOMEDIR/$user/web/$domain/stats $HOMEDIR/$user/web/$domain/logs
|
|||
|
||||
# Addding PHP-FPM backend
|
||||
if [ ! -z "$BACKEND_SYSTEM" ]; then
|
||||
if [ -z "$BACKEND_TEMPLATE" ]; then
|
||||
update_user_value "$user" '$BACKEND_TEMPLATE' "default"
|
||||
fi
|
||||
$BIN/v-add-web-domain-backend "$user" "$domain" $BACKEND_TEMPLATE
|
||||
check_result $? "Backend error" >/dev/null
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue