Class: OsCtld::Commands::Container::OomdRestart
- Includes:
- OomdGuard
- Defined in:
- lib/osctld/commands/container/oomd_restart.rb
Instance Method Summary collapse
Methods included from OomdGuard
#verify_oomd_run!, #with_oomd_run
Methods inherited from Restart
Methods included from Utils::SwitchUser
Methods inherited from Logged
Instance Method Details
#execute(ct) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/osctld/commands/container/oomd_restart.rb', line 8 def execute(ct) with_oomd_run(ct) do @opts = opts.merge(stop_method: 'kill', reboot: false) super end end |