1.  # Sample pies configuration for running pmult and MeTA1
   2.  
   3.  # Special handling for exit codes that mean the program was
   4.  # incorrectly used or misconfigured.
   5.  return-code (EX_USAGE, EX_CONFIG) {
   6.    action disable;
   7.    notify "root";
   8.    message <<- EOT
   9.      From: Pies <>
  10.      X-Agent: ${canonical-program-name} (${package} ${version})
  11.      Subject: Component ${component} disabled.
  12.  
  13.      Component "${component}" has terminated with code ${retcode},
  14.      which means it encountered some configuration problem.
  15.      I will not restart it automatically. Please fix its configuration
  16.      and restart it manually at your earliest convenience.
  17.  
  18.      To restart, run ``${program-name} -R ${component}''
  19.      ---
  20.      Wuff-wuff,
  21.      Pies
  22.    EOT;
  23.  }
  24.  
  25.  component pmult {
  26.    command "/usr/local/sbin/pmult";
  27.    user meta1s;
  28.    stderr syslog err;
  29.    stdout syslog info;
  30.  }
  31.  
  32.  include-meta1 "/etc/meta1/meta1.conf";