"syslog_facility=" . LOG_SIP;
#
-# Server Management
+# Server Management: set parameters for the Net::Server::PreFork
+# module. The module silently ignores parameters that it doesn't
+# recognize, and complains about invalid values for parameters
+# that it does.
#
-foreach my $server_parm ('min_servers', 'max_servers') {
- if (defined($config->{$server_parm})) {
- push @parms, "$server_parm=" . $config->{$server_parm};
+if (defined($config->{'server-params'})) {
+ while (my ($key, $val) = each %{$config->{'server-params'}}) {
+ push @parms, $key . '=' . $val;
}
}
<acsconfig xmlns="http://openncip.org/acs-config/1.0/">
<error-detect enabled="true" />
+
+ <!-- Set Net::Server::PreFork runtime parameters -->
+<!-- <server-params
+ min_servers='1'
+ min_spare_servers='0' /> -->
+
<listeners>
<service