Skip to content
Permalink
Browse files

Increased sleep time before reloading service (#222)

* Increased sleep time before reloading service
* switch to systemctl and add sleep
  • Loading branch information...
sanjitchak authored and cpg committed Aug 6, 2018
1 parent d5ba12c commit f4b0c07316ad7b80c189f5d3b1e4d013c6d93856
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/platform.rb
@@ -167,8 +167,8 @@ def self.dnsmasq?
}
class << self
def reload(service)
c = Command.new("sleep 1")
c.submit("service #{service2name service} reload")
c = Command.new("sleep 4")
c.submit("systemctl reload #{service2name service}")
c.submit("sleep 1")
c.execute
end

0 comments on commit f4b0c07

Please sign in to comment.
You can’t perform that action at this time.