Update v-lock-wordpress

This commit is contained in:
myvesta 2023-01-19 18:03:40 +01:00 committed by GitHub
commit 8b75699377
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,12 @@ if [ "$whoami" != "root" ]; then
exit 1
fi
# Importing system environment
source /etc/profile
# Includes
source /usr/local/vesta/func/main.sh
# Argument definition
domain=$1
@ -43,7 +49,7 @@ fi
# Action #
#----------------------------------------------------------#
cd /home/$user/web/$domain/public_html
cd /home/$user/web/$domain
# lock files
chown -R www-data:www-data public_html/