From 4ac8007016989382f85b203ca35b7181cf2956cd Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Fri, 16 Jan 2009 13:02:32 +0000 Subject: [PATCH] win32: make service_name alias for job_name --- src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}, -- 2.40.0