update: don't clear tmp files
There is no strict need for this, and cached files take a long time to be regenerated when restarting the server.
This commit is contained in:
parent
20df107620
commit
a33e2cd3fb
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ chdir APP_ROOT do
|
|||
puts "\n== Updating database =="
|
||||
system! 'bin/rails db:migrate'
|
||||
|
||||
puts "\n== Removing old logs and tempfiles =="
|
||||
system! 'bin/rails log:clear tmp:clear'
|
||||
puts "\n== Removing old logs =="
|
||||
system! 'bin/rails log:clear'
|
||||
|
||||
puts "\n== Restarting application server =="
|
||||
system! 'bin/rails restart'
|
||||
|
|
Loading…
Reference in a new issue