Sha256: 5bfd95cfc74cdcbc8b6a7621c9223927ad8a988676cec72467cc1e0d3a263054

Contents?: true

Size: 368 Bytes

Versions: 3

Compression:

Stored size: 368 Bytes

Contents

#!/bin/bash
#
# Copyright (c) 2009-2013 Lindsay Holmwood <lindsay@holmwood.id.au>
#
# flapjack
# 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

3 entries across 3 versions & 1 rubygems

Version Path
flapjack-0.7.32 dist/etc/init.d/flapjack
flapjack-0.7.31 dist/etc/init.d/flapjack
flapjack-0.7.30 dist/etc/init.d/flapjack