Class: Daemon::Cluster::PidFile
Overview
Stores and recalls pids for the child processes.
Constant Summary collapse
- FN =
'serverside_cluster.pid'
Class Method Summary collapse
-
.delete ⇒ Object
Deletes the cluster’s pid file.
-
.recall_pids ⇒ Object
Recalls all child pids.
-
.store_pid(pid) ⇒ Object
Stores a pid in the cluster’s pid file.
Class Method Details
.delete ⇒ Object
Deletes the cluster’s pid file.
12 13 14 |
# File 'lib/serverside/cluster.rb', line 12 def self.delete FileUtils.rm(FN) if File.file?(FN) end |