From: Marko Kreen Date: Fri, 16 Jan 2009 13:02:32 +0000 (+0000) Subject: win32: make service_name alias for job_name X-Git-Tag: pgbouncer_1_3_rc1~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ac8007016989382f85b203ca35b7181cf2956cd;p=pgbouncer win32: make service_name alias for job_name --- diff --git a/src/main.c b/src/main.c index 0f85b1a..ddfc166 100644 --- a/src/main.c +++ b/src/main.c @@ -132,7 +132,10 @@ int cf_log_pooler_errors = 1; * config file description */ ConfElem bouncer_params[] = { -{"job_name", true, CF_STR, &cf_jobname}, +{"job_name", false, CF_STR, &cf_jobname}, +#ifdef WIN32 +{"service_name", false, CF_STR, &cf_jobname}, /* alias for job_name */ +#endif {"conffile", true, CF_STR, &cf_config_file}, {"logfile", true, CF_STR, &cf_logfile}, {"pidfile", false, CF_STR, &cf_pidfile},