mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Importing system environment
|
||||||
|
source /etc/profile
|
||||||
|
|
||||||
|
# Includes
|
||||||
|
source /usr/local/vesta/func/main.sh
|
||||||
|
|
||||||
# Argument definition
|
# Argument definition
|
||||||
domain=$1
|
domain=$1
|
||||||
|
|
||||||
|
@ -43,7 +49,7 @@ fi
|
||||||
# Action #
|
# Action #
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
|
||||||
cd /home/$user/web/$domain/public_html
|
cd /home/$user/web/$domain
|
||||||
|
|
||||||
# lock files
|
# lock files
|
||||||
chown -R www-data:www-data public_html/
|
chown -R www-data:www-data public_html/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue