Skip to content

Instantly share code, notes, and snippets.

@thommay
Created June 24, 2011 15:19
Show Gist options
  • Select an option

  • Save thommay/1044999 to your computer and use it in GitHub Desktop.

Select an option

Save thommay/1044999 to your computer and use it in GitHub Desktop.
description "Noitd Monitoring Scout Server"
start on filesystem
stop on runlevel S
respawn
respawn limit 10 5
expect daemon
oom never
pre-start script
test -x /usr/sbin/stratcond || {stop; exit 0; }
test -s /etc/reconnoiter/stratcon.conf || {stop; exit 0; }
end script
exec /usr/sbin/stratcond -c /etc/reconnoiter/stratcon.conf
description "Reconnoiter Event Processing Server"
start on started stratcon
stop on runlevel S
respawn
respawn limit 10 5
oom never
pre-start script
test -x /usr/bin/run-iep.sh || {stop; exit 0; }
test -s /etc/reconnoiter/iep.conf || {stop; exit 0; }
end script
exec /usr/bin/run-iep.sh /etc/reconnoiter/iep.conf > /var/log/iep.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment