trinidad_init_services 1.2.3 → 1.3.0
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.
- checksums.yaml +7 -0
- data/.travis.yml +12 -0
- data/CHANGELOG.md +123 -0
- data/Gemfile +7 -1
- data/LICENSE +1 -1
- data/README.md +45 -34
- data/Rakefile +1 -6
- data/bin/trinidad_init_service +15 -11
- data/init.d/trinidad.erb +120 -51
- data/jsvc-unix-src/configure +733 -58
- data/jsvc-unix-src/native/arguments.c +3 -2
- data/jsvc-unix-src/native/jsvc-unix.c +11 -1
- data/jsvc-unix-src/native/location.c +3 -1
- data/jsvc-unix-src/native/version.h +2 -2
- data/jsvc-unix-src/support/apsupport.m4 +94 -32
- data/jsvc-unix-src/support/config.guess +770 -610
- data/jsvc-unix-src/support/config.sub +84 -59
- data/lib/trinidad/daemon.rb +11 -4
- data/lib/trinidad_init_services/configuration.rb +461 -138
- data/lib/trinidad_init_services/version.rb +1 -1
- data/spec/trinidad_init_services/configuration_spec.rb +221 -96
- data/spec/trinidad_init_services/init_service_config.yml +11 -0
- data/trinidad-libs/commons-daemon.jar +0 -0
- data/trinidad-libs/windows/amd64/prunsrv.exe +0 -0
- data/trinidad-libs/windows/ia64/prunsrv.exe +0 -0
- data/trinidad-libs/windows/prunsrv.exe +0 -0
- data/trinidad_init_services.gemspec +7 -7
- metadata +151 -147
- data/History.txt +0 -74
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -6,10 +6,10 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = 'trinidad_init_services'
|
7
7
|
s.version = Trinidad::InitServices::VERSION
|
8
8
|
s.rubyforge_project = 'trinidad_init_services'
|
9
|
-
|
9
|
+
|
10
10
|
s.summary = "Trinidad init service scripts based on Apache Commons Daemon"
|
11
11
|
s.description = "Trinidad init service scripts on Apache Commons Daemon and JRuby-Jsvc, compatible with Unix and Windows services"
|
12
|
-
|
12
|
+
|
13
13
|
s.authors = ["David Calavera"]
|
14
14
|
s.email = 'calavera@apache.org'
|
15
15
|
s.homepage = 'http://github.com/trinidad/trinidad_init_services'
|
@@ -31,9 +31,9 @@ Gem::Specification.new do |s|
|
|
31
31
|
## that are needed for an end user to actually USE your code.
|
32
32
|
s.add_dependency('trinidad', '>= 1.3.5')
|
33
33
|
|
34
|
-
s.add_development_dependency('rspec', '
|
35
|
-
s.add_development_dependency('mocha', '
|
36
|
-
|
34
|
+
s.add_development_dependency('rspec', '~> 2.14')
|
35
|
+
s.add_development_dependency('mocha', '~> 1.1.0')
|
36
|
+
|
37
37
|
s.files = `git ls-files`.split("\n")
|
38
38
|
|
39
39
|
## Test files will be grabbed from the file list. Make sure the path glob
|
@@ -44,11 +44,11 @@ Gem::Specification.new do |s|
|
|
44
44
|
|
45
45
|
--------------------------------------------------------------------------------
|
46
46
|
|
47
|
-
|
47
|
+
Now, please run:
|
48
48
|
|
49
49
|
$ jruby -S trinidad_init_service
|
50
50
|
|
51
|
-
to
|
51
|
+
to install the service.
|
52
52
|
|
53
53
|
--------------------------------------------------------------------------------
|
54
54
|
|
metadata
CHANGED
@@ -1,164 +1,168 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: trinidad_init_services
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 1.2.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.3.0
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
9
|
-
autorequire:
|
6
|
+
authors:
|
7
|
+
- David Calavera
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
11
|
+
date: 2014-07-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - '>='
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: 1.3.5
|
19
|
+
name: trinidad
|
20
|
+
prerelease: false
|
21
|
+
type: :runtime
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.3.5
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.14'
|
33
|
+
name: rspec
|
34
|
+
prerelease: false
|
35
|
+
type: :development
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.14'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.1.0
|
47
|
+
name: mocha
|
48
|
+
prerelease: false
|
49
|
+
type: :development
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.1.0
|
48
55
|
description: Trinidad init service scripts on Apache Commons Daemon and JRuby-Jsvc, compatible with Unix and Windows services
|
49
56
|
email: calavera@apache.org
|
50
|
-
executables:
|
51
|
-
|
57
|
+
executables:
|
58
|
+
- trinidad_init_service
|
52
59
|
extensions: []
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
60
|
+
extra_rdoc_files:
|
61
|
+
- README.md
|
62
|
+
- LICENSE
|
63
|
+
files:
|
64
|
+
- .gitignore
|
65
|
+
- .travis.yml
|
66
|
+
- CHANGELOG.md
|
67
|
+
- Gemfile
|
68
|
+
- LICENSE
|
69
|
+
- README.md
|
70
|
+
- Rakefile
|
71
|
+
- bin/trinidad_init_service
|
72
|
+
- init.d/trinidad.erb
|
73
|
+
- jsvc-unix-src/CHANGES.txt
|
74
|
+
- jsvc-unix-src/INSTALL.txt
|
75
|
+
- jsvc-unix-src/Makedefs.in
|
76
|
+
- jsvc-unix-src/Makefile.in
|
77
|
+
- jsvc-unix-src/configure
|
78
|
+
- jsvc-unix-src/configure.in
|
79
|
+
- jsvc-unix-src/man/README
|
80
|
+
- jsvc-unix-src/man/fetch.sh
|
81
|
+
- jsvc-unix-src/man/jsvc.1.xml
|
82
|
+
- jsvc-unix-src/native/.indent.pro
|
83
|
+
- jsvc-unix-src/native/Makefile.in
|
84
|
+
- jsvc-unix-src/native/arguments.c
|
85
|
+
- jsvc-unix-src/native/arguments.h
|
86
|
+
- jsvc-unix-src/native/debug.c
|
87
|
+
- jsvc-unix-src/native/debug.h
|
88
|
+
- jsvc-unix-src/native/dso-dlfcn.c
|
89
|
+
- jsvc-unix-src/native/dso-dyld.c
|
90
|
+
- jsvc-unix-src/native/dso.h
|
91
|
+
- jsvc-unix-src/native/help.c
|
92
|
+
- jsvc-unix-src/native/help.h
|
93
|
+
- jsvc-unix-src/native/home.c
|
94
|
+
- jsvc-unix-src/native/home.h
|
95
|
+
- jsvc-unix-src/native/java.c
|
96
|
+
- jsvc-unix-src/native/java.h
|
97
|
+
- jsvc-unix-src/native/jsvc-unix.c
|
98
|
+
- jsvc-unix-src/native/jsvc.h
|
99
|
+
- jsvc-unix-src/native/location.c
|
100
|
+
- jsvc-unix-src/native/location.h
|
101
|
+
- jsvc-unix-src/native/locks.c
|
102
|
+
- jsvc-unix-src/native/locks.h
|
103
|
+
- jsvc-unix-src/native/replace.c
|
104
|
+
- jsvc-unix-src/native/replace.h
|
105
|
+
- jsvc-unix-src/native/signals.c
|
106
|
+
- jsvc-unix-src/native/signals.h
|
107
|
+
- jsvc-unix-src/native/version.h
|
108
|
+
- jsvc-unix-src/support/apfunctions.m4
|
109
|
+
- jsvc-unix-src/support/apjava.m4
|
110
|
+
- jsvc-unix-src/support/apsupport.m4
|
111
|
+
- jsvc-unix-src/support/buildconf.sh
|
112
|
+
- jsvc-unix-src/support/config.guess
|
113
|
+
- jsvc-unix-src/support/config.sub
|
114
|
+
- jsvc-unix-src/support/install.sh
|
115
|
+
- jsvc-unix-src/support/mkdist.sh
|
116
|
+
- lib/trinidad/daemon.rb
|
117
|
+
- lib/trinidad_init_services.rb
|
118
|
+
- lib/trinidad_init_services/configuration.rb
|
119
|
+
- lib/trinidad_init_services/version.rb
|
120
|
+
- spec/spec_helper.rb
|
121
|
+
- spec/stubs/trinidad.rb
|
122
|
+
- spec/stubs/trinidad.yml
|
123
|
+
- spec/trinidad_daemon_spec.rb
|
124
|
+
- spec/trinidad_init_services/configuration_spec.rb
|
125
|
+
- spec/trinidad_init_services/init_service_config.yml
|
126
|
+
- trinidad-libs/commons-daemon.jar
|
127
|
+
- trinidad-libs/jruby-jsvc.jar
|
128
|
+
- trinidad-libs/jsvc_darwin
|
129
|
+
- trinidad-libs/windows/amd64/prunsrv.exe
|
130
|
+
- trinidad-libs/windows/ia64/prunsrv.exe
|
131
|
+
- trinidad-libs/windows/prunsrv.exe
|
132
|
+
- trinidad_init_services.gemspec
|
125
133
|
homepage: http://github.com/trinidad/trinidad_init_services
|
126
134
|
licenses: []
|
135
|
+
metadata: {}
|
136
|
+
post_install_message: |2+
|
127
137
|
|
128
|
-
post_install_message: |+
|
129
|
-
|
130
138
|
--------------------------------------------------------------------------------
|
131
|
-
|
132
|
-
|
133
|
-
|
139
|
+
|
140
|
+
Now, please run:
|
141
|
+
|
134
142
|
$ jruby -S trinidad_init_service
|
135
|
-
|
136
|
-
to
|
137
|
-
|
143
|
+
|
144
|
+
to install the service.
|
145
|
+
|
138
146
|
--------------------------------------------------------------------------------
|
139
|
-
|
140
|
-
rdoc_options:
|
141
|
-
- --charset=UTF-8
|
142
|
-
require_paths:
|
143
|
-
- lib
|
144
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
|
-
requirements:
|
147
|
-
- - ">="
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: "0"
|
150
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
-
none: false
|
152
|
-
requirements:
|
153
|
-
- - ">="
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version: "0"
|
156
|
-
requirements: []
|
157
147
|
|
148
|
+
rdoc_options:
|
149
|
+
- --charset=UTF-8
|
150
|
+
require_paths:
|
151
|
+
- lib
|
152
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - '>='
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
157
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - '>='
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
162
|
+
requirements: []
|
158
163
|
rubyforge_project: trinidad_init_services
|
159
|
-
rubygems_version:
|
160
|
-
signing_key:
|
161
|
-
specification_version:
|
164
|
+
rubygems_version: 2.2.2
|
165
|
+
signing_key:
|
166
|
+
specification_version: 4
|
162
167
|
summary: Trinidad init service scripts based on Apache Commons Daemon
|
163
168
|
test_files: []
|
164
|
-
|
data/History.txt
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
== 1.1.6 (2012-05-18)
|
2
|
-
|
3
|
-
* Fix windows option formatting with prunsrv's arguments
|
4
|
-
* Detect prunsrv.exe on windows PATH
|
5
|
-
|
6
|
-
== 1.1.5 (2012-03-06)
|
7
|
-
|
8
|
-
* Not working arch detection on Windows + missing 32-bit prunsrv.exe
|
9
|
-
|
10
|
-
== 1.1.4 (2012-03-01)
|
11
|
-
|
12
|
-
* JSVC sources packaged along the gem and compiled on demand (@see #6)
|
13
|
-
* Improve JRuby's native path detection in generated init.d script
|
14
|
-
* Make gem usable with bundler :git => paths
|
15
|
-
|
16
|
-
== 1.1.3 (2012-02-20)
|
17
|
-
|
18
|
-
* Do not ask for a path with $RUN_USER.
|
19
|
-
|
20
|
-
== 1.1.2 (2012-01-17)
|
21
|
-
|
22
|
-
* Revert previous fix.
|
23
|
-
* Fix #10: use a better procfile name.
|
24
|
-
|
25
|
-
== 1.1.1 (2012-01-16)
|
26
|
-
|
27
|
-
* Fix #8: issue on with -errfile &1 being misinterpreted.
|
28
|
-
|
29
|
-
== 1.1.0 (2012-01-04)
|
30
|
-
|
31
|
-
* Fix bug that didn't allow to create several services with different ids.
|
32
|
-
* Allow to provide a configuration file to load the options from.
|
33
|
-
|
34
|
-
== 1.1.0.pre (2011-09-30)
|
35
|
-
|
36
|
-
* Load prunsrv on Windows according with the architecture
|
37
|
-
|
38
|
-
== 1.0.0 (2011-06-11)
|
39
|
-
|
40
|
-
* Rebranded gem
|
41
|
-
* Fix shutdown compatibility errors with Trinidad 1.2.2 and above
|
42
|
-
|
43
|
-
== 0.4.2 (2011-05-17)
|
44
|
-
|
45
|
-
* fix several minor bugs
|
46
|
-
|
47
|
-
== 0.4.1 (2011-01-18)
|
48
|
-
|
49
|
-
* Ensure the unix script is executable by default.
|
50
|
-
|
51
|
-
== 0.4.0 (2011-01-13)
|
52
|
-
|
53
|
-
* Generate Windows service.
|
54
|
-
|
55
|
-
== 0.3.2
|
56
|
-
|
57
|
-
* Remove profile.jar from init script since it's no more bundled with JRuby distribution.
|
58
|
-
|
59
|
-
== 0.3.1
|
60
|
-
|
61
|
-
* Use absolute path for configuration options
|
62
|
-
* Start Trinidad from the application path
|
63
|
-
|
64
|
-
== 0.3.0
|
65
|
-
|
66
|
-
* Remove init script extension
|
67
|
-
|
68
|
-
== 0.2.0
|
69
|
-
|
70
|
-
* Fix several bugs
|
71
|
-
|
72
|
-
== 0.1.0
|
73
|
-
|
74
|
-
* Initial release
|