mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
Update v-activate-rocket-nginx
This commit is contained in:
parent
f73b121ce7
commit
ca4abdb864
1 changed files with 1 additions and 5 deletions
|
@ -122,11 +122,7 @@ else
|
||||||
echo "Adding cron job..."
|
echo "Adding cron job..."
|
||||||
|
|
||||||
# Add the cron job
|
# Add the cron job
|
||||||
TPL=$(/usr/local/vesta/bin/v-list-web-domain $user $domain shell | grep 'TEMPLATE:' | awk '{print $2}')
|
fpm_ver=$(/usr/local/vesta/bin/v-get-php-version-of-domain "$domain")
|
||||||
if [[ $TPL == "PHP-FPM-"* ]]; then
|
|
||||||
fpm_tpl_ver=${TPL:8:2}
|
|
||||||
fpm_ver="${TPL:8:1}.${TPL:9:1}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
touch /home/$user/web/$domain/cron.log
|
touch /home/$user/web/$domain/cron.log
|
||||||
chown $user:$user /home/$user/web/$domain/cron.log
|
chown $user:$user /home/$user/web/$domain/cron.log
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue