blob: 85a2504cc20639add6af38973a0bdc971b762ee3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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";
|