regenwolke_autons 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/regenwolke_autons/nginx_auton.rb +4 -1
- data/lib/regenwolke_autons/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8999fb6fcf0ee9bfdfe6c0bb3843ee4e78b0e0d
|
4
|
+
data.tar.gz: 427e85eae0fd090e3eb637f99beef04f16019ad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66d94cf80828ff4e4cbdff380857ec826aa7b85366d9d78eac1e9c4a703c5b6273fae26f6816e31bf60ae03c132f938cb8450d4874f5ec19730d8732c46f36ca
|
7
|
+
data.tar.gz: e927b0500f15e3e0d8fa6db7a944b4324ac4db32c37d7b4aad470227d64b98fd90eb3d2da63c507fbf7205eaa8214771e8b27e696c98188c87bd22aa211e6e28
|
@@ -19,7 +19,10 @@ module RegenwolkeAutons
|
|
19
19
|
|
20
20
|
def start_nginx
|
21
21
|
create_config
|
22
|
-
|
22
|
+
|
23
|
+
nginx_binary = File.exist?('/usr/sbin/nginx') ? '/usr/sbin/nginx' : 'nginx'
|
24
|
+
|
25
|
+
cp = ChildProcess.build(nginx_binary, '-p', '.', '-c', 'nginx.config')
|
23
26
|
cp.detach = true
|
24
27
|
cp.start
|
25
28
|
self.pid = cp.pid
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: regenwolke_autons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dragan Milic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: childprocess
|