lib/vedeu/distributed/server.rb in vedeu-0.3.5 vs lib/vedeu/distributed/server.rb in vedeu-0.4.0

- old
+ new

@@ -71,22 +71,16 @@ # @return [void] def restart return not_enabled unless drb? - if drb_running? - log('Restarting') + log('Not running') unless drb_running? - stop + log('Restarting') - start + stop - else - log('Not running') - - start - - end + start end # When called will stop the DRb server and attempt to terminate the client # application. #