Auto restart rails after bin/update
This commit is contained in:
parent
71d43078ee
commit
956c812e6e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue