Module: Specinfra::Command::Module::Service::Runit

Included in:
Base::Service
Defined in:
lib/specinfra/command/module/service/runit.rb

Instance Method Summary collapse

Instance Method Details

#check_is_running_under_runit(service) ⇒ Object



6
7
8
# File 'lib/specinfra/command/module/service/runit.rb', line 6

def check_is_running_under_runit(service)
  "sv status #{escape(service)} | grep -E '^run: '"
end