Class: LoomExt::CoreMods::Systemd

Inherits:
Loom::Mods::Module show all
Defined in:
lib/loomext/coremods/system.rb

Defined Under Namespace

Modules: Actions

Instance Attribute Summary

Attributes inherited from Loom::Mods::Module

#action_proxy, #loom, #loom_config, #mods, #shell

Instance Method Summary collapse

Methods inherited from Loom::Mods::Module

action_proxy, bind_action, #execute, import_actions, #init_action, #initialize, register_mod, required_commands

Constructor Details

This class inherits a constructor from Loom::Mods::Module

Instance Method Details

#do_systemctl(action, *args) ⇒ Object



7
8
9
# File 'lib/loomext/coremods/system.rb', line 7

def do_systemctl(action, *args)
  shell.execute "systemctl", action, *args
end