Improved logging of restart command.

This commit is contained in:
Thorsten Eckel 2018-06-20 15:59:44 +02:00
parent 6ff324094c
commit 4f6b0f7384

View file

@ -4,7 +4,8 @@ class Observer::AppVersionRestartJob
end end
def perform def perform
Rails.logger.info "executing CMD: #{@cmd}"
system(@cmd) system(@cmd)
Rails.logger.info "execute CMD: #{@cmd}" Rails.logger.info "executed CMD: #{@cmd}"
end end
end end