Skip to content

audit use of [reconfigure] #454

@fichtner

Description

@fichtner

In a number of plugins reconfigure equals restart, which is effectivelly useless. reconfigure was a concept by the core web proxy, which did a rc.d "reload" after generating the temples. The service controllers, however, have a reconfigure that simply stop + start (or restart) unless a "reconfigure" is defined, which makes the use of [reconfigure] silly if we use a stock reconfigure call, especially with the introduction of the mutable service controller.

$ git grep '\[reconfigure\]'
mail/postfix/src/opnsense/service/conf/actions.d/actions_postfix.conf:[reconfigure]
net-mgmt/collectd/src/opnsense/service/conf/actions.d/actions_collectd.conf:[reconfigure]
net-mgmt/telegraf/src/opnsense/service/conf/actions.d/actions_telegraf.conf:[reconfigure]
net-mgmt/zabbix-agent/src/opnsense/service/conf/actions.d/actions_zabbixagent.conf:[reconfigure]
net-mgmt/zabbix-proxy/src/opnsense/service/conf/actions.d/actions_zabbixproxy.conf:[reconfigure]
net/freeradius/src/opnsense/service/conf/actions.d/actions_freeradius.conf:[reconfigure]
net/frr/src/opnsense/service/conf/actions.d/actions_quagga.conf:[reconfigure]
net/haproxy/src/opnsense/service/conf/actions.d/actions_haproxy.conf:[reconfigure]
net/quagga/src/opnsense/service/conf/actions.d/actions_quagga.conf:[reconfigure]
net/siproxd/src/opnsense/service/conf/actions.d/actions_siproxd.conf:[reconfigure]
security/clamav/src/opnsense/service/conf/actions.d/actions_clamav.conf:[reconfigure]
www/c-icap/src/opnsense/service/conf/actions.d/actions_cicap.conf:[reconfigure]
www/web-proxy-useracl/src/opnsense/service/conf/actions.d/actions_proxyuseracl.conf:[reconfigure]

Metadata

Metadata

Assignees

Labels

featureAdding new functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions