Overview

this program should have a directory structure on disk something like:
sprite
  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:

services:
  {
    name: monitor
    description:
      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 
      differentiate?
  },
  {
    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"
  }

jobs:
  {
    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
  }


Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.