diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-09-15 10:40:29 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-09-15 10:40:54 +0300 |
commit | 989a5bbb74c3620abaa2191ce2c4f8d5968dbf0a (patch) | |
tree | c0b2324a523905c3c17201cc2468c9078976fc74 /src/pies.rcin | |
parent | dbad35177723e19147ab49b59a3728e00fe05875 (diff) | |
download | pies-989a5bbb74c3620abaa2191ce2c4f8d5968dbf0a.tar.gz pies-989a5bbb74c3620abaa2191ce2c4f8d5968dbf0a.tar.bz2 |
Branch off from the Mailfromd project into a separate repository.
Diffstat (limited to 'src/pies.rcin')
-rw-r--r-- | src/pies.rcin | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/pies.rcin b/src/pies.rcin new file mode 100644 index 0000000..85a2504 --- /dev/null +++ b/src/pies.rcin @@ -0,0 +1,31 @@ +# 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"; + |