Class: Wakame::Actor::Daemon
- Inherits:
-
Object
- Object
- Wakame::Actor::Daemon
- Includes:
- Wakame::Actor
- Defined in:
- lib/wakame/actor/daemon.rb
Constant Summary
Constants included from Wakame::Actor
STATUS_CANCELED, STATUS_FAILED, STATUS_RUNNING, STATUS_SUCCESS
Instance Method Summary collapse
- #reload(resource_dir, cmd) ⇒ Object
- #start(resource_dir, cmd) ⇒ Object
- #stop(resource_dir, cmd) ⇒ Object
Methods included from Wakame::Actor
Instance Method Details
#reload(resource_dir, cmd) ⇒ Object
17 18 19 |
# File 'lib/wakame/actor/daemon.rb', line 17 def reload(resource_dir, cmd) Wakame::Util.exec("/usr/bin/env #{env_opts} '#{cmd_abs_path(resource_dir, cmd.dup)}' reload") end |