Start. Stop. Probably stop trying to do this before bed.

This commit is contained in:
Karl Southern 2016-09-15 22:00:34 +01:00
parent ca1c71ea68
commit f0d88a237f

View File

@ -7,7 +7,7 @@ require 'securerandom'
RSpec.configure do |c|
def start_service(name)
cmd = "sudo /etc/init.d/#{name}* stop"
cmd = "sudo /etc/init.d/#{name}* start"
`which systemctl`
if $?.success?