Sha256: a18438ef029db13fecf507a5cbfc0999cd051599e7dd6ed7fb4e90fa7ac97daf

Contents?: true

Size: 773 Bytes

Versions: 24

Compression:

Stored size: 773 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 $1

RETVAL=$?
exit $RETVAL

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
flapjack-0.9.6 dist/etc/init.d/flapjack
flapjack-0.9.5 dist/etc/init.d/flapjack
flapjack-0.9.4 dist/etc/init.d/flapjack
flapjack-0.9.3 dist/etc/init.d/flapjack
flapjack-0.9.2 dist/etc/init.d/flapjack
flapjack-0.9.1 dist/etc/init.d/flapjack
flapjack-1.0.0rc1 dist/etc/init.d/flapjack
flapjack-0.9.0 dist/etc/init.d/flapjack
flapjack-0.8.12 dist/etc/init.d/flapjack
flapjack-0.8.11 dist/etc/init.d/flapjack
flapjack-0.8.10 dist/etc/init.d/flapjack
flapjack-0.8.9 dist/etc/init.d/flapjack
flapjack-0.8.8 dist/etc/init.d/flapjack
flapjack-0.8.7 dist/etc/init.d/flapjack
flapjack-0.8.6 dist/etc/init.d/flapjack
flapjack-0.8.5 dist/etc/init.d/flapjack
flapjack-0.8.4 dist/etc/init.d/flapjack
flapjack-0.8.3 dist/etc/init.d/flapjack
flapjack-0.8.2 dist/etc/init.d/flapjack
flapjack-0.8.1 dist/etc/init.d/flapjack