ghazel-daemons 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +29 -0
- data/README +223 -0
- data/Rakefile +88 -0
- data/Releases +126 -0
- data/TODO +6 -0
- data/examples/call/call.rb +56 -0
- data/examples/call/call_monitor.rb +55 -0
- data/examples/daemonize/daemonize.rb +20 -0
- data/examples/run/ctrl_crash.rb +17 -0
- data/examples/run/ctrl_exec.rb +16 -0
- data/examples/run/ctrl_exit.rb +15 -0
- data/examples/run/ctrl_keep_pid_files.rb +17 -0
- data/examples/run/ctrl_monitor.rb +16 -0
- data/examples/run/ctrl_multiple.rb +16 -0
- data/examples/run/ctrl_normal.rb +12 -0
- data/examples/run/ctrl_ontop.rb +16 -0
- data/examples/run/ctrl_optionparser.rb +43 -0
- data/examples/run/ctrl_proc.rb +25 -0
- data/examples/run/ctrl_proc.rb.output +101 -0
- data/examples/run/ctrl_proc_multiple.rb +22 -0
- data/examples/run/ctrl_proc_multiple.rb.output +2 -0
- data/examples/run/ctrl_proc_simple.rb +17 -0
- data/examples/run/myserver.rb +12 -0
- data/examples/run/myserver_crashing.rb +14 -0
- data/examples/run/myserver_crashing.rb.output +30 -0
- data/examples/run/myserver_exiting.rb +8 -0
- data/lib/daemons.rb +283 -0
- data/lib/daemons/application.rb +376 -0
- data/lib/daemons/application_group.rb +152 -0
- data/lib/daemons/cmdline.rb +117 -0
- data/lib/daemons/controller.rb +134 -0
- data/lib/daemons/daemonize.rb +263 -0
- data/lib/daemons/exceptions.rb +28 -0
- data/lib/daemons/monitor.rb +136 -0
- data/lib/daemons/pid.rb +101 -0
- data/lib/daemons/pidfile.rb +111 -0
- data/lib/daemons/pidmem.rb +10 -0
- data/setup.rb +1360 -0
- metadata +94 -0
metadata
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ghazel-daemons
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.11
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Thomas Uehlinger
|
8
|
+
autorequire: daemons
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-08-26 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Daemons provides an easy way to wrap existing ruby scripts (for example a self-written server) to be run as a daemon and to be controlled by simple start/stop/restart commands. You can also call blocks as daemons and control them from the parent or just daemonize the current process. Besides this basic functionality, daemons offers many advanced features like exception backtracing and logging (in case your ruby script crashes) and monitoring and automatic restarting of your processes if they crash.
|
17
|
+
email: th.uehlinger@gmx.ch
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- README
|
24
|
+
- Releases
|
25
|
+
- TODO
|
26
|
+
files:
|
27
|
+
- Rakefile
|
28
|
+
- Releases
|
29
|
+
- TODO
|
30
|
+
- README
|
31
|
+
- LICENSE
|
32
|
+
- setup.rb
|
33
|
+
- lib/daemons.rb
|
34
|
+
- lib/daemons/cmdline.rb
|
35
|
+
- lib/daemons/exceptions.rb
|
36
|
+
- lib/daemons/daemonize.rb
|
37
|
+
- lib/daemons/pidfile.rb
|
38
|
+
- lib/daemons/monitor.rb
|
39
|
+
- lib/daemons/application_group.rb
|
40
|
+
- lib/daemons/controller.rb
|
41
|
+
- lib/daemons/pid.rb
|
42
|
+
- lib/daemons/pidmem.rb
|
43
|
+
- lib/daemons/application.rb
|
44
|
+
- examples/run/ctrl_exec.rb
|
45
|
+
- examples/run/ctrl_exit.rb
|
46
|
+
- examples/run/ctrl_multiple.rb
|
47
|
+
- examples/run/myserver_crashing.rb.output
|
48
|
+
- examples/run/ctrl_normal.rb
|
49
|
+
- examples/run/ctrl_proc_multiple.rb
|
50
|
+
- examples/run/ctrl_monitor.rb
|
51
|
+
- examples/run/myserver.rb
|
52
|
+
- examples/run/myserver_crashing.rb
|
53
|
+
- examples/run/ctrl_proc.rb
|
54
|
+
- examples/run/ctrl_proc.rb.output
|
55
|
+
- examples/run/ctrl_proc_multiple.rb.output
|
56
|
+
- examples/run/ctrl_optionparser.rb
|
57
|
+
- examples/run/ctrl_ontop.rb
|
58
|
+
- examples/run/myserver_exiting.rb
|
59
|
+
- examples/run/ctrl_crash.rb
|
60
|
+
- examples/run/ctrl_proc_simple.rb
|
61
|
+
- examples/run/ctrl_keep_pid_files.rb
|
62
|
+
- examples/call/call_monitor.rb
|
63
|
+
- examples/call/call.rb
|
64
|
+
- examples/daemonize/daemonize.rb
|
65
|
+
has_rdoc: true
|
66
|
+
homepage: http://daemons.rubyforge.org
|
67
|
+
licenses: []
|
68
|
+
|
69
|
+
post_install_message:
|
70
|
+
rdoc_options: []
|
71
|
+
|
72
|
+
require_paths:
|
73
|
+
- lib
|
74
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: "0"
|
79
|
+
version:
|
80
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: "0"
|
85
|
+
version:
|
86
|
+
requirements: []
|
87
|
+
|
88
|
+
rubyforge_project: daemons
|
89
|
+
rubygems_version: 1.3.5
|
90
|
+
signing_key:
|
91
|
+
specification_version: 2
|
92
|
+
summary: A toolkit to create and control daemons in different ways
|
93
|
+
test_files: []
|
94
|
+
|