apphunkd 0.12.0 → 0.12.1
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.
- data/VERSION +1 -1
- data/apphunkd.gemspec +1 -1
- data/support/apphunkd.initd +4 -4
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.12.
|
|
1
|
+
0.12.1
|
data/apphunkd.gemspec
CHANGED
data/support/apphunkd.initd
CHANGED
|
@@ -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/
|
|
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/
|
|
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/
|
|
25
|
-
pid = File.readlines('/var/
|
|
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.."
|