Registry / cli / daemon-spawn

daemon-spawn

JSON →
library0.4.2rbrubygemsunverified

Start, stop and restart background processes tracked by PID files.

gem install daemon-spawn
INSTALL
IMPORT
SIG · DAEMON-SPAWN
D
daemon-spawn
clirubyv0.4.2
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.

DaemonSpawn
require 'daemon-spawn'

Creates and runs a simple background daemon.

require 'daemon-spawn' class MyDaemon < DaemonSpawn::Base def start(args) loop { sleep 1 } end def stop # cleanup end end DaemonSpawn.run([MyDaemon], '/tmp/mydaemon.pid')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
34
Resources
daemon-spawn — gem install daemon-spawn · libregistry