recipiez 0.0.6 → 0.0.7
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/recipes/templates/upstart.erb +3 -2
- data/recipiez.gemspec +1 -1
- metadata +3 -3
|
@@ -10,5 +10,6 @@ respawn # restart when job dies
|
|
|
10
10
|
respawn limit 5 60 # give up restart after 5 respawns in 60 seconds
|
|
11
11
|
|
|
12
12
|
script
|
|
13
|
-
exec NODE_ENV=<%= node_env %> node <%= current_path %>/app/app.js >> <%= current_path %>/log/<%= node_env %>.log 2>&1
|
|
14
|
-
end script
|
|
13
|
+
exec sudo -u <%= user %> NODE_ENV=<%= node_env %> node <%= current_path %>/app/app.js >> <%= current_path %>/log/<%= node_env %>.log 2>&1
|
|
14
|
+
end script
|
|
15
|
+
|
data/recipiez.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: recipiez
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.0.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Alastair Brunton
|