module LoomExt::CoreMods::SystemdUnitsCommon
Public Instance Methods
common_list_flags()
click to toggle source
# File lib/loomext/coremods/systemd/systemd_units.rb, line 14 def common_list_flags ["--plain", "--full", "--all"] end
do_systemctl_list(list_what, flags=common_list_flags)
click to toggle source
# File lib/loomext/coremods/systemd/systemd_units.rb, line 10 def do_systemctl_list(list_what, flags=common_list_flags) do_systemctl("list-%s" % list_what, flags: flags) end
init_action(*units, type: nil)
click to toggle source
# File lib/loomext/coremods/systemd/systemd_units.rb, line 5 def init_action(*units, type: nil) @units = units @type = type end