seamusabshere-daemon-spawn 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/daemon_spawn.rb +1 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
data/lib/daemon_spawn.rb CHANGED
@@ -40,7 +40,7 @@ module DaemonSpawn
40
40
  STDIN.reopen "/dev/null"
41
41
  STDOUT.reopen log
42
42
  STDERR.reopen STDOUT
43
- trap(daemon.signal) {daemon.stop; exit}
43
+ trap("TERM") {daemon.stop; exit}
44
44
  daemon.start(args)
45
45
  end
46
46
  puts "#{daemon.app_name} started."
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 2
9
- version: 0.2.2
8
+ - 3
9
+ version: 0.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alex Vollmer