Sha256: ce6bc2c5e1363b6ac1cb936f195074cf5b1f23f564db39394f2c85a6b0c9edd4
Contents?: true
Size: 385 Bytes
Versions: 109
Compression:
Stored size: 385 Bytes
Contents
module Specinfra module Command module Module module Service module Runit def check_is_running_under_runit(service) "sv status #{escape(service)} | grep -E '^run: '" end def check_is_enabled_under_runit(service) "test ! -f /etc/sv/#{escape(service)}/down" end end end end end end
Version data entries
109 entries across 109 versions & 1 rubygems