osth 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/ost +11 -0
- data/osth.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 314c8357c112d3d363ba754902b3ca4af0423c90
|
4
|
+
data.tar.gz: 69bf27565fb6fdfc39b6f8f62218302089296672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfda087e79813f9c93a77a9a2ad5f0d951919360202d371ba3096a585e64baeeea8370bad01d2058ae5fa4c1674bbc1ef892c1ff7312988e2bbdfddc9045f780
|
7
|
+
data.tar.gz: fc9a0c0d7a0a1e9bb866e38b4d8ac462b43016ce3582c45efdb75851cde6b0509bf289dfce519172c1f793ed5bf3d721afd3be66a008f2311e81e6488fa9f3d7
|
data/bin/ost
CHANGED
@@ -49,7 +49,18 @@ when "start"
|
|
49
49
|
when "stop"
|
50
50
|
pid = Integer(File.read(pid_path).chomp)
|
51
51
|
|
52
|
+
running = true
|
53
|
+
|
52
54
|
Process.kill(:TERM, pid)
|
55
|
+
|
56
|
+
while running
|
57
|
+
begin
|
58
|
+
Proces.kill(0, pid)
|
59
|
+
running = true
|
60
|
+
rescue Errno::ESRCH
|
61
|
+
running = false
|
62
|
+
end
|
63
|
+
end
|
53
64
|
else
|
54
65
|
$stderr.puts("unknown command: #{ command }")
|
55
66
|
$stderr.puts(usage)
|
data/osth.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Rodríguez
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-09-10 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: How Harmoni runs Ost
|
15
15
|
email:
|