Sha256: 7b8d23e8f800d23859ff29f3a07712f94da7def1b6f02d7380f8dc9b1e9fc73b
Contents?: true
Size: 342 Bytes
Versions: 1
Compression:
Stored size: 342 Bytes
Contents
module Process def self.daemonize File.create Application.pid,'a+' File.create Application.log,'a+' File.create Application.daemon_stderr,'a+' Daemon.start fork, Application.pid, Application.log, Application.daemon_stderr end def self.stop Daemon.stop end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
procemon-1.2.1 | lib/procemon/process.rb |