# Sample pies configuration for running pmult and mcp # Special handling for exit codes that mean the program was used incorrectly # or misconfigured. return-code (EX_USAGE, EX_CONFIG) { action disable; notify "root"; message "From: Pies <>\n" "X-Agent: ${canonical-program-name} (${package} ${version})\n" "Subject: Component ${component} disabled.\n" "\n" "Component \"${component}\" has terminated with code ${retcode},\n" "which means it encountered some configuration problem.\n" "I will not restart it automatically. Please fix its configuration\n" "and restart it manually at your earliest convenience.\n" "\n" "To restart, run `pies --start ${component}'\n" "---\n" "Wuff-wuff,\nPies"; } component pmult { command "SBINDIR/pmult"; user meta1s; stderr info; stdout info; } include-meta1 "/etc/meta1/meta1.conf";