Registry / utility / daemon

daemon

JSON →
library1.2.0rbrubygemsunverified

Makes the calling script become a daemon with PID file locking support and stdout/stderr redirection.

gem install daemon
INSTALL
IMPORT
SIG · DAEMON
D
daemon
utilityrubyv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Daemon
require 'daemon'

Daemonize the current process with PID file locking.

require 'daemon' Daemon.daemonize('/var/run/myapp.pid') do loop { sleep 1 } end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
daemon — gem install daemon · libregistry