apphunkd 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.0
1
+ 0.12.1
data/apphunkd.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{apphunkd}
8
- s.version = "0.12.0"
8
+ s.version = "0.12.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andreas Wolff"]
@@ -7,12 +7,12 @@
7
7
 
8
8
  def start
9
9
  puts "Starting.."
10
- `apphunkd start -e production --log /var/log/apphunkd.log --pidfile /var/run/apphunkd.pid`
10
+ `apphunkd start -e production --log /var/log/apphunkd.log --pidfile /var/log/apphunkd.pid`
11
11
  end
12
12
 
13
13
  def stop
14
14
  puts "Stopping.."
15
- `apphunkd stop -e production --log /var/log/apphunkd.log --pidfile /var/run/apphunkd.pid`
15
+ `apphunkd stop -e production --log /var/log/apphunkd.log --pidfile /var/log/apphunkd.pid`
16
16
  end
17
17
 
18
18
  def restart
@@ -21,8 +21,8 @@ def restart
21
21
  end
22
22
 
23
23
  def status
24
- if File.exist?('/var/run/apphunkd.pid')
25
- pid = File.readlines('/var/run/apphunkd.pid')[0].chomp
24
+ if File.exist?('/var/log/apphunkd.pid')
25
+ pid = File.readlines('/var/log/apphunkd.pid')[0].chomp
26
26
  puts "apphunkd running (#{pid}).."
27
27
  else
28
28
  puts "apphunkd not running.."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apphunkd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Wolff