flapjack 0.6.56 → 0.6.57

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,10 +24,11 @@ if [ ! $(which flapjack) ]; then
24
24
  exit 1
25
25
  fi
26
26
 
27
+ rbenv shell 1.9.3-p125
28
+
27
29
  # Evaluate command
28
30
  case "$1" in
29
31
  start)
30
- rbenv shell 1.9.3-p125
31
32
  flapjack start --config /etc/flapjack/flapjack-config.yaml --daemonize
32
33
  RETVAL=$?
33
34
  ;;
@@ -42,8 +43,13 @@ case "$1" in
42
43
  reload)
43
44
  flapjack reload --config /etc/flapjack/flapjack-config.yaml
44
45
  RETVAL=$?
46
+ ;;
47
+ status)
48
+ flapjack status --config /etc/flapjack/flapjack-config.yaml
49
+ RETVAL=$?
50
+ ;;
45
51
  *)
46
- echo "Usage: flapjack {start|stop}"
52
+ echo "Usage: flapjack {start|stop|restart|reload|status}"
47
53
  RETVAL=1
48
54
  ;;
49
55
  esac
@@ -28,7 +28,7 @@ fi
28
28
 
29
29
  # Evaluate command
30
30
 
31
- rbenv shell 1.9.3-p125 && flapjack-nagios-receiver $1 --config /etc/flapjack/flapjack-config.yaml --fifo ${NAGIOS_PERFDATA_FIFO}
31
+ rbenv shell 1.9.3-p125 && flapjack-nagios-receiver $1 --config /etc/flapjack/flapjack-config.yaml --fifo ${NAGIOS_PERFDATA_FIFO} --daemonize
32
32
 
33
33
  RETVAL=$?
34
34
  exit $RETVAL
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  module Flapjack
4
- VERSION = "0.6.56"
4
+ VERSION = "0.6.57"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flapjack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.56
4
+ version: 0.6.57
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -465,7 +465,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
465
465
  version: '0'
466
466
  segments:
467
467
  - 0
468
- hash: -1013339674961956573
468
+ hash: 782177641495889576
469
469
  required_rubygems_version: !ruby/object:Gem::Requirement
470
470
  none: false
471
471
  requirements:
@@ -474,7 +474,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
474
474
  version: '0'
475
475
  segments:
476
476
  - 0
477
- hash: -1013339674961956573
477
+ hash: 782177641495889576
478
478
  requirements: []
479
479
  rubyforge_project:
480
480
  rubygems_version: 1.8.23