daemonite 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/daemonite.gemspec +1 -1
- data/lib/daemonite.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64b585a2bed60547754e07e67c77241e0b20b2971162bfe1316de38d814fea73
|
4
|
+
data.tar.gz: 33e365291dab615db89d5c4be32db9f331927e9f45b81a3f6271270250cd0fe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69298c230e77baca6114a338cee0a06b9011ab215e031919e5b86096b1938fce33d418c0a8665c7c4f61cfc357168a5b3a13f60b91333e841c780f2544516802
|
7
|
+
data.tar.gz: 020b78be52e9239d098d83191170aa39dbb8947f57010cea14b64bea74ec774445798b21b63588f33e2fcde9d1c0424eb9adabfe2dad339fb4b0a1f94147010e
|
data/daemonite.gemspec
CHANGED
data/lib/daemonite.rb
CHANGED
@@ -56,6 +56,11 @@ module Daemonism
|
|
56
56
|
opt.on(*ro)
|
57
57
|
end
|
58
58
|
opt.on("--verbose", "-v", "Do not daemonize. Write ouput to console.") { opts[:verbose] = true }
|
59
|
+
opt.on("--config=FNAME", "-cFNAME", "Config file location.") { |f,a|
|
60
|
+
if File.exists?(opts[:basepath] + '/' + f)
|
61
|
+
opts.merge!(Psych::load_file(opts[:basepath] + '/' + f))
|
62
|
+
end
|
63
|
+
}
|
59
64
|
opt.on("--help", "-h", "This text.") { puts opt; exit }
|
60
65
|
opt.separator(opt.summary_indent + "start|stop|restart|info".ljust(opt.summary_width+1) + "Do operation start, stop, restart or get information.")
|
61
66
|
opts[:runtime_cmds].each do |ro|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daemonite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Daemonite - Process.daemon and argparse wrapper for loopies.
|
14
14
|
email: juergen.mangler@gmail.com
|