Merge pull request #10763 from demarches-simplifiees/auto-restart-after-update

Auto restart rails after bin/update
This commit is contained in:
Colin Darie 2024-09-09 07:06:46 +00:00 committed by GitHub
commit 4f180520c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,6 +40,6 @@ FileUtils.chdir APP_ROOT do
puts "\n== Removing old logs ==" puts "\n== Removing old logs =="
system! 'bin/rails log:clear' system! 'bin/rails log:clear'
puts "\n== Done ==" puts "\n== Restarting application server =="
puts "You can now start (or restart) the application server with `bin/rails server`." system! 'bin/rails restart'
end end