Browse Source

Update default.rb

master
ojizero 3 years ago
parent
commit
5c302150bd
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      deployy/recipes/default.rb

+ 4
- 4
deployy/recipes/default.rb View File

@@ -45,11 +45,11 @@ deploy '/var/www/html' do
execute 'key:generate' do
command "cd #{release_path} && php artisan key:generate"
end

execute 'postinstall' do
command "chown -R www-data:www-data #{release_path} && systemctl restart nginx"
end
end
end

execute 'postinstall' do
command "chown -R www-data:www-data /var/www/html/ && systemctl restart nginx"
end



Loading…
Cancel
Save