Improved logging of restart command.
This commit is contained in:
parent
6ff324094c
commit
4f6b0f7384
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ class Observer::AppVersionRestartJob
|
|||
end
|
||||
|
||||
def perform
|
||||
Rails.logger.info "executing CMD: #{@cmd}"
|
||||
system(@cmd)
|
||||
Rails.logger.info "execute CMD: #{@cmd}"
|
||||
Rails.logger.info "executed CMD: #{@cmd}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue