foreman_debian 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/templates/initd_script.erb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0db6d638cba341f0f659141b593102b37744c65a
|
4
|
+
data.tar.gz: d4d26d93e22a15d5425a7785cc35a136a3dd0335
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be7a422c35826170588bc9684c7f49915a9c7d6230e5bea3a959796844c7d1afaff9a642463ea0b9b8fb94f0b82854a84ec34f0cf5799254e4e1ea82bc1067f1
|
7
|
+
data.tar.gz: 1517b9442e2be8ed2aba884d3615a728c4ca01b564521346608f83c07c8d962c204fda628ad856e26d72ea9d5aa2dde7e05273d91a40b7b64851beabfa2e5e8d
|
data/templates/initd_script.erb
CHANGED
@@ -19,7 +19,6 @@ DAEMON_USER=<%= Shellwords.escape user %>
|
|
19
19
|
PIDDIR=<%= Shellwords.escape pidfile.dirname.to_s %>
|
20
20
|
PIDFILE=<%= Shellwords.escape pidfile.to_s %>
|
21
21
|
|
22
|
-
test -x ${DAEMON} || exit 0
|
23
22
|
set -e
|
24
23
|
. /lib/lsb/init-functions
|
25
24
|
|
@@ -28,7 +27,8 @@ case "${1}" in
|
|
28
27
|
start)
|
29
28
|
log_daemon_msg "Starting ${DESC}" "${NAME}"
|
30
29
|
mkdir -p ${PIDDIR}
|
31
|
-
|
30
|
+
test -x ${DAEMON} || log_end_msg 1
|
31
|
+
if (start-stop-daemon --start --oknodo --make-pidfile --background --pidfile $PIDFILE --chuid $DAEMON_USER --startas $DAEMON -- <%= Shellwords.join arguments %>); then
|
32
32
|
log_end_msg 0
|
33
33
|
else
|
34
34
|
log_end_msg 1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_debian
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cargomedia
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: clamp
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: '0'
|
126
126
|
requirements: []
|
127
127
|
rubyforge_project:
|
128
|
-
rubygems_version: 2.4.
|
128
|
+
rubygems_version: 2.4.2
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: Foreman wrapper for debian
|