oye 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/oye/version.rb +1 -1
- data/lib/oye.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72649c178dd1644eb71bdb4f72f804ab8c4c190c6106736da15d876607adb285
|
4
|
+
data.tar.gz: 70c2d64e214075672aa155e2dff7629198bbb23fe30f51efcfabae643f67ab13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d678648a0024307aa4695bbea4ae47ae82833637b8faabd8be2ec0ba67240ca4137b005619bdfdfdab7de8f67c70b572ea9e0a5dda14760bc90a8297af6cad6d
|
7
|
+
data.tar.gz: 47767c6ee7bb5fda3fe58aef52c015c971e611de65cf140623d48b8b19350b77adbb3f252d5a1d7abcbf6552352b05239aeb7cc83dda981540869a22c79c5f12
|
data/Gemfile.lock
CHANGED
data/lib/oye/version.rb
CHANGED
data/lib/oye.rb
CHANGED
@@ -98,7 +98,7 @@ module Oye
|
|
98
98
|
def monitor
|
99
99
|
%w(TERM INT).each do |signal|
|
100
100
|
trap(signal) do
|
101
|
-
|
101
|
+
stop_oye
|
102
102
|
FileUtils.rm_f(oye_pidfile)
|
103
103
|
exit
|
104
104
|
end
|
@@ -263,8 +263,8 @@ module Oye
|
|
263
263
|
exit
|
264
264
|
end
|
265
265
|
|
266
|
-
def
|
267
|
-
Process.kill oye_pid
|
266
|
+
def stop_oye
|
267
|
+
Process.kill 'TERM', oye_pid
|
268
268
|
end
|
269
269
|
|
270
270
|
# TODO implement
|