Sha256: 1c6f4aefbc86cb697ee8d3725659b2aa04cda50076d3e37203f4d935088cb4ed
Contents?: true
Size: 695 Bytes
Versions: 13
Compression:
Stored size: 695 Bytes
Contents
class Specinfra::Command::Guix::Base::Service < Specinfra::Command::Linux::Base::Service class << self def check_is_enabled(service, level=nil) "herd status #{escape(service)} | grep 'It is enabled.'" end def check_is_running(service) "herd status #{escape(service)} | grep 'It is started.'" end def enable(service) "herd enable #{escape(service)}" end def disable(service) "herd disable #{escape(service)}" end def start(service) "herd start #{escape(service)}" end def stop(service) "herd stop #{escape(service)}" end def restart(service) "herd restart #{escape(service)}" end end end
Version data entries
13 entries across 13 versions & 1 rubygems