kuzushi 0.0.42 → 0.0.43
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/lib/kuzushi.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.43
|
data/lib/kuzushi.rb
CHANGED
|
@@ -109,14 +109,14 @@ class Kuzushi
|
|
|
109
109
|
file = []
|
|
110
110
|
file << "start on stopped rc RUNLEVEL=[2345]"
|
|
111
111
|
file << "stop on runlevel [!2345]"
|
|
112
|
-
|
|
112
|
+
file << ""
|
|
113
113
|
file << "respawn" unless service.respawn == false
|
|
114
114
|
if service.user
|
|
115
115
|
file << "exec su - -c '#{service.command}' #{service.user}" ## TODO add shell escaping here
|
|
116
116
|
else
|
|
117
117
|
file << "exec #{service.command}"
|
|
118
118
|
end
|
|
119
|
-
|
|
119
|
+
file << ""
|
|
120
120
|
file.join("\n")
|
|
121
121
|
end
|
|
122
122
|
|