Thin_Upstart 1.1.1 → 1.2.0
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/README.md +6 -0
- data/lib/Thin_Upstart.rb +2 -1
- data/lib/Thin_Upstart/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -22,6 +22,12 @@ are generated (assuming you call your group of Thin apps 'web-app'):
|
|
|
22
22
|
|- web-apps-app2.conf
|
|
23
23
|
|- ...
|
|
24
24
|
|
|
25
|
+
Tip
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
Check the format of your Upstart files when you copy them to /etc/init using this command:
|
|
29
|
+
|
|
30
|
+
sudo initctl check-config --warn App-Name
|
|
25
31
|
|
|
26
32
|
Installation
|
|
27
33
|
------------
|
data/lib/Thin_Upstart.rb
CHANGED
|
@@ -15,7 +15,8 @@ class Thin_Upstart
|
|
|
15
15
|
module Class_Methods
|
|
16
16
|
|
|
17
17
|
def trash dir
|
|
18
|
-
cmd = `which trash`.strip.empty? || File.directory?("/tmp/Thin_Upstart") ? "rm" : "trash"
|
|
18
|
+
# cmd = `which trash`.strip.empty? || File.directory?("/tmp/Thin_Upstart") ? "rm" : "trash"
|
|
19
|
+
cmd = "rm"
|
|
19
20
|
files = []
|
|
20
21
|
Dir.glob(File.join(dir, "*.conf")).each { |file|
|
|
21
22
|
next unless File.read(file)["# Generated by Thin_Upstart"]
|
data/lib/Thin_Upstart/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: Thin_Upstart
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-04-
|
|
12
|
+
date: 2012-04-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bacon
|