Method: VCAP::PidFile#unlink
- Defined in:
- lib/vcap/common.rb
#unlink ⇒ Object
Removes the created pidfile
165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/vcap/common.rb', line 165 def unlink() return unless @dirty # Swallowing exception here is fine. Removing the pid files is a courtesy. begin File.unlink(@pid_file) @dirty = false rescue end self end |