daemonite 0.4.0 → 0.4.1
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 +4 -4
- data/daemonite.gemspec +1 -1
- data/lib/daemonite.rb +2 -1
- 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: e84d4f992152f3c11c7449081d617825107359b0a542feca239c102879d19719
|
|
4
|
+
data.tar.gz: e30fd22e0e5e89dd91c83777ac6fd5a78b56fa9fc5097b8dc471fd2e27023c9a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abf8a9b1943c0dcbf0eed1e1808345fcdb11720d795f8dc834d34f0a837efdd5cbc4ea2335bcd53e8ff064ff1421d72c7485be5af4636dd8bc5aac9ab98adc52
|
|
7
|
+
data.tar.gz: 5a5514461c2356de2df7d881adc455d7e6e2a0760b05f3cf3fe64aaacc100e135c9a0e55e9ca9b9d494ebce2e2b5a316c0abaa3d0041f85b7671af1614b4f39e
|
data/daemonite.gemspec
CHANGED
data/lib/daemonite.rb
CHANGED
|
@@ -135,8 +135,9 @@ module Daemonism
|
|
|
135
135
|
ro[2].call(status.call) if opts[:cmdl_operation] == ro[0]
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
retain = $stdout.dup
|
|
139
139
|
Process.daemon(opts[:basepath]) unless opts[:verbose]
|
|
140
|
+
retain.puts "Server #{opts[:cmdl_info].nil? ? '' : '(' + opts[:cmdl_info].to_s + ') '}started as PID:#{Process.pid}"
|
|
140
141
|
File.write(opts[:basepath] + '/' + opts[:pidfile],Process.pid) # after daemon, so that we get the forked pid
|
|
141
142
|
Dir.chdir(opts[:basepath])
|
|
142
143
|
::Kernel::at_exit do
|
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.
|
|
4
|
+
version: 0.4.1
|
|
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:
|
|
11
|
+
date: 2019-01-23 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
|