mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Fix rebuild for some user names
This commit is contained in:
parent
3aadf37a82
commit
85b3578f9c
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ is_object_unsuspended 'user' 'USER' "$user"
|
|||
#----------------------------------------------------------#
|
||||
|
||||
# Deleting old web configs
|
||||
sed -i "/.*\/$user\//d" /etc/$WEB_SYSTEM/conf.d/vesta.conf
|
||||
sed -i "/.*\/$user\/conf\/web\//d" /etc/$WEB_SYSTEM/conf.d/vesta.conf
|
||||
if [ -e "$HOMEDIR/$user/conf/web/$WEB_SYSTEM.conf" ]; then
|
||||
rm $HOMEDIR/$user/conf/web/$WEB_SYSTEM.conf
|
||||
fi
|
||||
|
@ -47,7 +47,7 @@ fi
|
|||
|
||||
# Deleting old proxy configs
|
||||
if [ ! -z "$PROXY_SYSTEM" ]; then
|
||||
sed -i "/.*\/$user\//d" /etc/$PROXY_SYSTEM/conf.d/vesta.conf
|
||||
sed -i "/.*\/$user\/conf\/web\//d" /etc/$PROXY_SYSTEM/conf.d/vesta.conf
|
||||
|
||||
if [ -e "$HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf" ]; then
|
||||
rm $HOMEDIR/$user/conf/web/$PROXY_SYSTEM.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue