# zabbix_agentd.service is only a compatibility alias symlink pointing at
# zabbix-agent.service, which is the unit name upstream uses. systemd resolves
# the alias itself, so the service scriptlets are (correctly) applied to
# zabbix-agent.service alone and must not be repeated for the alias.
addFilter("systemd-service-without-service_add_pre zabbix_agentd\.service")
addFilter("systemd-service-without-service_add_post zabbix_agentd\.service")
addFilter("systemd-service-without-service_del_preun zabbix_agentd\.service")
addFilter("systemd-service-without-service_del_postun zabbix_agentd\.service")
# zabbix_agent2.service, zabbix_server.service and zabbix_proxy.service are
# compatibility alias symlinks to the upstream named units, same as above
addFilter("systemd-service-without-service_add_pre zabbix_(agent2|server|proxy)\.service")
addFilter("systemd-service-without-service_add_post zabbix_(agent2|server|proxy)\.service")
addFilter("systemd-service-without-service_del_preun zabbix_(agent2|server|proxy)\.service")
addFilter("systemd-service-without-service_del_postun zabbix_(agent2|server|proxy)\.service")
