Merge branch 'master' of github.com:plashchynski/crono

This commit is contained in:
Dzmitry Plashchynski
2015-04-11 18:24:07 +03:00
6 changed files with 80 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ module Crono
end
def write_pid
return unless config.pidfile
pidfile = File.expand_path(config.pidfile)
File.write(pidfile, ::Process.pid)
end