Use -C to invoke tentacle_server when using SSL proxy mode (see also e8e59f3e3e).

This commit is contained in:
hkosaka 2015-04-07 13:08:50 +09:00
parent 9035eda57d
commit f005b00eb6
1 changed files with 2 additions and 0 deletions

View File

@ -975,6 +975,8 @@ sub launch_tentacle_proxy () {
#Execute tentacle server as a daemon
my $new_process = "tentacle_server -b ".$Conf{'server_ip'}." -g ".$Conf{'server_port'}." -c ".$Conf{'proxy_max_connection'}." -t ".$Conf{'proxy_timeout'};
$new_process .= ' -C' if ($Conf{'server_ssl'} eq 'yes');
log_message ('setup', 'Proxy mode enabled');
exec ($new_process);
}