Exception: Daemon::LockError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Daemon::LockError
- Defined in:
- lib/daemon.rb
Instance Method Summary collapse
-
#initialize(pid_file) ⇒ LockError
constructor
A new instance of LockError.
Constructor Details
#initialize(pid_file) ⇒ LockError
Returns a new instance of LockError.
3 4 5 |
# File 'lib/daemon.rb', line 3 def initialize(pid_file) super("cannot lock pid file '#{pid_file.path}', process already running with pid: #{pid_file.read.strip}") end |