Sha256: 3339fa5ec7168f77ec22d0ad31ec728d06f71d827640895ee62aff9fa27aeebd

Contents?: true

Size: 780 Bytes

Versions: 16

Compression:

Stored size: 780 Bytes

Contents

#!/bin/bash

### BEGIN INIT INFO
# Provides:       flapjack
# Required-Start: $syslog $remote_fs redis-flapjack
# Required-Stop:  $syslog $remote_fs redis-flapjack
# Should-Start:   $local_fs
# Should-Stop:    $local_fs
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Short-Description:  flapjack - scalable monitoring notification system
# Description:    flapjack - scalable monitoring notification system
### END INIT INFO

# Copyright (c) 2009-2013 Lindsay Holmwood <lindsay@holmwood.id.au>
#
# Boots flapjack (coordinator, processor, notifier, gateways...)

PATH=/opt/flapjack/bin:$PATH

if [ ! $(which flapjack) ]; then
  echo "Error: flapjack isn't in PATH."
  echo "Refusing to do anything!"
  exit 1
fi

# Evaluate command
flapjack server $@

RETVAL=$?
exit $RETVAL

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
flapjack-1.3.0rc2 dist/etc/init.d/flapjack
flapjack-1.3.0rc1 dist/etc/init.d/flapjack
flapjack-1.2.2 dist/etc/init.d/flapjack
flapjack-1.2.1 dist/etc/init.d/flapjack
flapjack-1.2.1rc3 dist/etc/init.d/flapjack
flapjack-1.2.1rc2 dist/etc/init.d/flapjack
flapjack-1.2.1rc1 dist/etc/init.d/flapjack
flapjack-1.2.0 dist/etc/init.d/flapjack
flapjack-1.2.0rc2 dist/etc/init.d/flapjack
flapjack-1.2.0rc1 dist/etc/init.d/flapjack
flapjack-1.1.0 dist/etc/init.d/flapjack
flapjack-1.0.0 dist/etc/init.d/flapjack
flapjack-1.0.0rc6 dist/etc/init.d/flapjack
flapjack-1.0.0rc5 dist/etc/init.d/flapjack
flapjack-1.0.0rc3 dist/etc/init.d/flapjack
flapjack-1.0.0rc2 dist/etc/init.d/flapjack