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:
Pierre de La Morinerie 2018-09-03 14:04:38 +02:00
parent 20df107620
commit a33e2cd3fb

View file

@ -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'