mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Update v-lock-wordpress
This commit is contained in:
parent
c9c29ce7a9
commit
8b75699377
1 changed files with 7 additions and 1 deletions
|
@ -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/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue