#!/bin/sh rc=$STATE_DIR/hercules-$MACHINE-$SCHEME.cnf # Store the pid so stophercules can stop it later. echo "$$" > $STATE_DIR/hercules-$MACHINE-$SCHEME.pid hercules -f $rc