twigg-app 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/twigg-app/app/version.rb +1 -1
- data/lib/twigg-app/command/app.rb +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2146b57d426335ffa33202b730a54c57488967a5
|
4
|
+
data.tar.gz: 0e8686beafb42dbadbfa5fa15c3143eddfc516b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04497b886c27f52e353a8bde0af24c7d927a45404a2409a0e72155e52dcd5d79115e9c4e7b0e572d51c47a2a437a33ebc05521a79d548f17a9dc9af034daf5e2
|
7
|
+
data.tar.gz: 87574c1298693984d14f1b37988a73ef80c31c32aa491d23411708b2d386b59db5294904b73c5b61ea4508e08146abcc4195274b3474fb35d880aeea13c129fb
|
@@ -11,8 +11,11 @@ module Twigg
|
|
11
11
|
|
12
12
|
def run
|
13
13
|
stderr 'Daemonizing...' if @daemon
|
14
|
-
|
15
|
-
|
14
|
+
|
15
|
+
if @pidfile_path
|
16
|
+
stderr "Will write to pidfile #{@pidfile}"
|
17
|
+
die 'Pidfile already exists' if File.exist?(@pidfile_path)
|
18
|
+
end
|
16
19
|
|
17
20
|
Process.daemon if @daemon
|
18
21
|
|