1. David Powers
  2. sprite


this program should have a directory structure on disk something like:
  tmp  <-- temporary files (mostly output from currently running programs)
  log  <-- log files (should these go in /var/log instead?)
  plugins <-- programs that can be run as commands from within sprite
  etc <-- config

config musings:

    name: monitor
      This monitor reads from a number of files and outputs a single 
      file that can be read by spreadsheets
    owners: pzimmer, mburns
    run_as: production
    startin: /home/production/monitor
    start_cmd: ./start_monitor.sh
    stop_cmd: ./stop_monitor.sh
    kill_cmd: pkill -9 monitor.exe
    status_cmd: ps monitor.exe  <-- this calls internal ps, how to 
    name: logger
    description: Logs stuff for the thing
    owners: dpowers
    run_as: root
    startin: /
    start_cmd: service syslogd start
    stop_cmd: service syslogd stop
    status_cmd: ps syslogd
    name: postgresql
    description: Production database
    owners: mshinwell
    run_as: postgresql
    startin: /home/postgresql
    start_cmd: service postgresql start
    stop_cmd: service postgresql stop
    status_cmd: run "service postgresql status"

    name: report downloader
    description: This downloads a daily report from Barclays
    owners: mshinwell
    run_conditions: cron "30 4 * * *"
    output: email "reports@business.com" "Daily Barclays Report"
    run_as: production
    start_cmd: /home/production/barc_report.pl