#1152342 zabbix-web-service: The shipped zabbix-web-service.service constructed a duplicated '-c' option

Package:
zabbix-web-service
Source:
zabbix-web-service
Description:
Zabbix network monitoring solution - web-service
Submitter:
WHR
Date:
2026-10-28 10:49:01 UTC
Severity:
normal
Tags:
#1152342#5
Date:
2026-10-28 10:47:49 UTC
From:
To:
Dear maintainers,

The zabbix-web-service.service unit shipped in this package contains the
following directives:

Environment="DAEMON_ARGS= -c /etc/zabbix/zabbix_web_service.conf"
EnvironmentFile=-/etc/default/%p
ExecStart=/usr/sbin/zabbix_web_service -c $DAEMON_ARGS

Both the default 'DAEMON_ARGS' variable and the 'ExecStart' directive
include a '-c' option. If no '/etc/default/zabbix-web-service' exists (the
default) or didn't set 'DAEMON_ARGS', the final command line will contain
two '-c', causing the service to fail, with error:

 ERROR: cannot open configuration file: open -c: no such file or directory

E.g., zabbix_web_service(8) being instructed to read a configuration file
named '-c'.

Please remove the redundant option from 'ExecStart'.