with_pid 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. data/require.rb +1 -1
  2. data/templates/bash.erb +1 -1
  3. metadata +1 -1
data/require.rb CHANGED
@@ -13,7 +13,7 @@ Require do
13
13
  name 'with_pid'
14
14
  homepage "http://github.com/winton/#{name}"
15
15
  summary "The simple way to create and monitor a Ruby daemon"
16
- version '0.1.1'
16
+ version '0.1.2'
17
17
  end
18
18
 
19
19
  rakefile do
@@ -26,7 +26,7 @@ case "<%= options[:action] %>" in
26
26
  if [ -f $PID_FILE ]; then
27
27
  kill -15 `cat $PID_FILE` 2>/dev/null; true
28
28
  fi
29
- [ -e "$PIDFILE" ] && rm -f $PIDFILE
29
+ [ -e "$PID_FILE" ] && rm -f $PID_FILE
30
30
  ;;
31
31
  *)
32
32
  ;;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: with_pid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winton Welsh