method

process

rails latest stable - Class: Killer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

process(action, pid_path, pattern, keyword)
public

Searches for all processes matching the given keywords, and then invokes a specific action on each of them. This is useful for (e.g.) reloading a set of processes:

  Killer.process(:reload, "/tmp/pids", "dispatcher.*.pid")