mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-10 19:27:01 +02:00
Merge branch 'master' of github.com:plashchynski/crono
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user