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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/templates/initd_script.erb +2 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7b696cb0864780aaf68e012e5f215ef9bb19521
4
- data.tar.gz: 3976cb5605206aa77b247756e4514b3c3b0d8c3e
3
+ metadata.gz: 0db6d638cba341f0f659141b593102b37744c65a
4
+ data.tar.gz: d4d26d93e22a15d5425a7785cc35a136a3dd0335
5
5
  SHA512:
6
- metadata.gz: 9266b0197efd3225e673ed3d91093db740f525c7d066d6d2f126b0c60697b2d29764245d92b8f203c4211290bc0492a3feabc38d8d6c35e3c1d12a1dbba3110f
7
- data.tar.gz: 79d339eee92c722b973569e8bea51a5cf828c204a9836f46942480617fe92af2905dcffb41368484eae618cc7763d2e787abd6ed04bd700ced1547e4b21d412f
6
+ metadata.gz: be7a422c35826170588bc9684c7f49915a9c7d6230e5bea3a959796844c7d1afaff9a642463ea0b9b8fb94f0b82854a84ec34f0cf5799254e4e1ea82bc1067f1
7
+ data.tar.gz: 1517b9442e2be8ed2aba884d3615a728c4ca01b564521346608f83c07c8d962c204fda628ad856e26d72ea9d5aa2dde7e05273d91a40b7b64851beabfa2e5e8d
@@ -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
- if (start-stop-daemon --start --make-pidfile --background --pidfile $PIDFILE --chuid $DAEMON_USER --startas $DAEMON -- <%= Shellwords.join arguments %>); then
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.12
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-10-16 00:00:00.000000000 Z
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.1
128
+ rubygems_version: 2.4.2
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Foreman wrapper for debian