aboutsummaryrefslogtreecommitdiff
path: root/src/pies.rcin
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies.rcin')
-rw-r--r--src/pies.rcin31
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";
+

Return to:

Send suggestions and report system problems to the System administrator.